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

Re: treatment of empty strings - why is this not a bug?



Greg Klanderman wrote:
> Hi Peter, also could you please address my original question: when the
> decision that unquoted parameter expansions in zsh should not undergo
> field splitting was made, why was the behavior of dropping empty
> strings retained?

No idea; this is very ancient history right from the shell's origins.
It's useful to be able to do this separately from splitting words, but
that's not an answer.

-- 
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/



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