On Sun, 17 Nov 2024 17:52:26 +0100,
Jeremie Courreges-Anglas <[email protected]> wrote:
>
> See main.c:
> /* Aliases that are builtin commands in at&t */
> "login=exec login",
>
> I guess a builtin would be slightly cleaner, but it means more code.
>
Indeed, the bug can be reproduced only when I use a builtin alias which has
space in it's definition:
ksh $ echo 'integer() { }' | ksh -n -
ksh: <stdin>[1]: syntax error: `(' unexpected
ksh $ echo 'nohup() { }' | ksh -n -
ksh $ echo 'history() { }' | ksh -n -
ksh: <stdin>[1]: syntax error: `(' unexpected
ksh $ echo 'local() { }' | ksh -n -
ksh $
--
wbr, Kirill