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

Re: Procmail rejects zsh as being "broken"

Stephen R. van den Berg <srb@xxxxxxx> wrote:
> Peter Stephenson <pws@xxxxxx> wrote:
> >It's *not* broken.  See the FAQ.  Zsh has arrays if you want the
> >variable to have separate words.  Having it splitting on every single
> >space in every single variable is the broken behaviour, inherited from
> >the time when arrays didn't exist.
> In zsh's eyes, it's a feature, no doubt.  If zsh pretends to be Bourne
> shell compatible, it's a bug.

Well, when zsh is invoked as zsh it does not pretend to be Bourne shell
compatible.  That's not a bug.  Zsh is really Bourne compatible if called
as sh.  The complicated *zsh* test in procmail is unnecessary.  It'll never
work.  The problem is that procmail tells that zsh is broken.  Zsh is not
broken, it is simply different from a Bourne shell when invoked as zsh.
Procmail should just inform the user that it uses /bin/sh or whatever
instead of zsh and should not spread misinformation about zsh.


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