On Wed, Feb 25, 2009 at 12:18:46AM +0100, Vincent Lefevre wrote: > POSIX.1-2008 says[*]: > > 2.3.1 Alias Substitution > [...] However, reserved words in correct grammatical context > shall not be candidates for alias substitution. > > [*] > http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_03_01 > > but zsh gives: > > vin% emulate sh > vin% alias !="echo OK" > vin% ! foo > OK foo > vin% > > instead of running command "foo". ksh93, pdksh, dash and bash > in POSIX mode all behave correctly.
Where it seems that "correctly" means that setting the alias succeeds, but ! is never substituted. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org