From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23825 invoked by alias); 12 Feb 2015 10:24:50 -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: 19862 Received: (qmail 2954 invoked from network); 12 Feb 2015 10:24:48 -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.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_PCNT autolearn=no version=3.3.2 Date: Thu, 12 Feb 2015 11:24:46 +0100 From: Vincent Lefevre To: zsh-users@zsh.org Subject: Re: multi-digit file descriptors Message-ID: <20150212102446.GA24966@xvii.vinc17.org> Mail-Followup-To: zsh-users@zsh.org References: <20150211162637.GA9083@xvii.vinc17.org> <20150211174605.43e6da33@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20150211174605.43e6da33@pwslap01u.europe.root.pri> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.23-6419-vl-r76280 (2015-02-10) On 2015-02-11 17:46:05 +0000, Peter Stephenson wrote: > You can grab use of one yourself with the recommended syntax (we > actually agreed this with David Korn): > > local foo > exec {foo}>blah > echo bleugh >&$foo However this is not portable (not supported by dash and mksh). -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)