From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13397 invoked by alias); 12 Feb 2015 10:26:33 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19863 Received: (qmail 25169 invoked from network); 12 Feb 2015 10:26:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C autolearn=ham version=3.3.2 Date: Thu, 12 Feb 2015 11:16:57 +0100 From: Vincent Lefevre To: Zsh Users Subject: Re: multi-digit file descriptors Message-ID: <20150212101657.GA23465@xvii.vinc17.org> Mail-Followup-To: Zsh Users MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150211204708.GA10940@chaz.gmail.com> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6419-vl-r76280 (2015-02-10) On 2015-02-11 09:27:51 -0800, Bart Schaefer wrote: > On Feb 11, 2015 8:28 AM, "Vincent Lefevre" wrote: > > The behavior of dash and ksh93 is similar to zsh. But is there any > > reason? > > Zsh reserves descriptors 10 and up for internal use; for example, 10 is > nearly always a copy of the original input terminal in an interactive shell. But this doesn't explain the error message, in particular... On 2015-02-11 20:47:09 +0000, Stephane Chazelas wrote: > Related discussion on the austin-group mailing list: > > http://thread.gmane.org/gmane.comp.standards.posix.austin.general/10094 which mentions the use of 09. With zsh: ( echo foo >&09; ) 09>my_file still gives an error: redir:4: parse error near `09' -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)