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

Re: select problem



On Sat, Jan 17, 2009 at 10:25, Stephane Chazelas
<Stephane_Chazelas@xxxxxxxx> wrote:

> "select" is not standard (that is not in the POSIX sh, which
> is the only standard you can expect both bash and zsh to conform
> to (when called as "sh")) and is a kshism. It's also rather
> useless as one can do the same thing easily without.

zsh is not fully POSIX compliant and afaik, there are no plans to
ever make it that way, either. While zsh and POSIX agree most
of the time, using zsh as your sh _will_ get you strange effects.

I don't have time to dig up more, but look at [1] and [2] for some
examples.


Richard

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=329288
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340058



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