zsh-workers
 help / color / mirror / code / Atom feed
From: Richard Hartmann <richih.mailinglist@gmail.com>
To: david sowerby <d_sowerby@yahoo.com>, zsh-workers@sunsite.dk
Subject: Re: select problem
Date: Sat, 17 Jan 2009 12:21:31 +0100	[thread overview]
Message-ID: <2d460de70901170321g66b892dei2a4e5fac9c445db8@mail.gmail.com> (raw)
In-Reply-To: <20090117092515.GA5400@sc.homeunix.net>

On Sat, Jan 17, 2009 at 10:25, Stephane Chazelas
<Stephane_Chazelas@yahoo.fr> 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


  reply	other threads:[~2009-01-17 11:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-12 19:48 david sowerby
2009-01-17  7:12 ` Andrey Borzenkov
2009-01-17  9:25 ` Stephane Chazelas
2009-01-17 11:21   ` Richard Hartmann [this message]
2009-01-18 14:39     ` Stephane Chazelas
2009-01-18 15:45       ` Richard Hartmann
2009-01-20 19:42         ` Peter Stephenson
2009-01-20 21:30           ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2d460de70901170321g66b892dei2a4e5fac9c445db8@mail.gmail.com \
    --to=richih.mailinglist@gmail.com \
    --cc=d_sowerby@yahoo.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).