Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: select problem
- X-seq: zsh-workers 26342
- From: Richard Hartmann <richih.mailinglist@xxxxxxxxx>
- To: david sowerby <d_sowerby@xxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: select problem
- Date: Sat, 17 Jan 2009 12:21:31 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=+1kHqUNK+Zt6zFq3yC5AzcwXLfHwfbn4Pdzy6oTEbgU=; b=azPPFtanPRTX48KVrqvp4lSYKsfDnnhYsVoQUC2TpgDtKVHAj/6xaMhxTOdVZ5wvWI RWock2eYa2R+8SQ+gmJ0oPjGk9bh5ggIvGk0SnZWy/Tgq4reRewkJoWPRH7c0L0dCRBS I7BUSTU924CWnRPocGBCKWxL/J0MGzT1XbOc8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=URBe1fO38F5tyBR249z7mnSBznupt2/mzb5fhiR79t+z8v1KiHxZ7cR47eJqNlOtzn le/mM1JY4wfkuU2C4/5WOvKHl2y7tUCkTg7jwsomHCop6YVEn+f4FheaVqF5+wnDnaGW F8laOefZ2fRdM3CH+4hVud7LhmFH3GAG9ByAw=
- In-reply-to: <20090117092515.GA5400@xxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <234804.32891.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx> <20090117092515.GA5400@xxxxxxxxxxxxxxx>
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