Aliases in subbshell does not work as expected

2009-01-11 Thread Коренберг Марк
Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALED $uname output: Linux

Re: Aliases in subbshell does not work as expected

2009-01-11 Thread Jon Seymour
G'day, This working as documented. The relevant part of the manual is, I think: Bash always reads at least one complete line of input before executing any of the commands on that line. Aliases are expanded when a command is read, not when it is executed. If aaa is not already