[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alias expansion confusion

From: Paul Jarc
Subject: alias expansion confusion
Date: Thu, 18 Jul 2002 17:30:50 -0400
User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i686-pc-linux-gnu)

bash-2.05b$ alias foo='echo '
bash-2.05b$ alias bar='baz'
bash-2.05b$ alias baz='quux'
bash-2.05b$ foo bar

I would have expected to see quux.
       The first word of the replacement text is tested for aliases
       [...] If the last character of the alias value is a blank, then
       the next command word following the alias is also checked for
       alias expansion.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]