Hi,

we've found a bug that occurs when using emacs mode (using ksh 2009-06-30).

Reproducer:
$ set -o emacs
$ alias foo='echo hello world'
$ if true; then
'> foo

and when you want to type 'fi', it fails immediately when 'f' is pressed

'> ksh: syntax error: `then' unmatched
$ fi
ksh: syntax error: `fi' unexpected


additional notes:
It works when used in file or on one line ( if true; then foo; fi )

Regards,
Michal Hlavinka
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to