Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Alias expansion rules taken up for POSIX standards review



I should have brought this up last week but have been somewhat
distracted from the austin-group of late.  Issue ID 953 has been
opened to clarify whether

  alias cmd='foo &'
  cmd&bar

should semantically expand to

  foo && bar # valid "and" syntax

vs.

  foo & & bar # syntax error

We made the latter choice for zsh as of the 5.0.8 release, for what I
think are several good reasons (and one pragmatic one, which is that
not doing that breaks our lexer in an unpleasant and difficult-to-fix
way).

My ability to post to the austin-group list has been crippled for a
while, so if any of you who are still able to be active want to chime
in, it would be appreciated.



Messages sorted by: Reverse Date, Date, Thread, Author