From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17689 invoked from network); 17 Jan 2009 11:21:48 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Jan 2009 11:21:48 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 24895 invoked from network); 17 Jan 2009 11:21:41 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Jan 2009 11:21:41 -0000 Received: (qmail 28342 invoked by alias); 17 Jan 2009 11:21:35 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26342 Received: (qmail 28329 invoked from network); 17 Jan 2009 11:21:34 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Jan 2009 11:21:34 -0000 Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by bifrost.dotsrc.org (Postfix) with ESMTP id 24F2080271F0 for ; Sat, 17 Jan 2009 12:21:31 +0100 (CET) Received: by fg-out-1718.google.com with SMTP id e21so898816fga.37 for ; Sat, 17 Jan 2009 03:21:31 -0800 (PST) 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= MIME-Version: 1.0 Received: by 10.86.91.12 with SMTP id o12mr318058fgb.52.1232191291548; Sat, 17 Jan 2009 03:21:31 -0800 (PST) In-Reply-To: <20090117092515.GA5400@sc.homeunix.net> References: <234804.32891.qm@web36605.mail.mud.yahoo.com> <20090117092515.GA5400@sc.homeunix.net> Date: Sat, 17 Jan 2009 12:21:31 +0100 Message-ID: <2d460de70901170321g66b892dei2a4e5fac9c445db8@mail.gmail.com> Subject: Re: select problem From: Richard Hartmann To: david sowerby , zsh-workers@sunsite.dk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/8873/Sat Jan 17 04:33:31 2009 on bifrost X-Virus-Status: Clean On Sat, Jan 17, 2009 at 10:25, Stephane Chazelas 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