From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 651 invoked by alias); 12 Feb 2015 16:45:14 -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: 19864 Received: (qmail 15987 invoked from network); 12 Feb 2015 16:45:11 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=QM3fnbPO c=1 sm=1 tr=0 a=FT8er97JFeGWzr5TCOCO5w==:117 a=kj9zAlcOel0A:10 a=q2GGsy2AAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=0HtSIViG9nkA:10 a=c1BpEXqbAZCsBnF8irQA:9 a=CjuIK1q_8ugA:10 From: Bart Schaefer Message-id: <150212084503.ZM20347@torch.brasslantern.com> Date: Thu, 12 Feb 2015 08:45:03 -0800 In-reply-to: <20150212102446.GA24966@xvii.vinc17.org> Comments: In reply to Vincent Lefevre "Re: multi-digit file descriptors" (Feb 12, 11:24am) References: <20150211162637.GA9083@xvii.vinc17.org> <20150211174605.43e6da33@pwslap01u.europe.root.pri> <20150212102446.GA24966@xvii.vinc17.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: multi-digit file descriptors MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Feb 12, 11:24am, Vincent Lefevre wrote: } Subject: Re: multi-digit file descriptors } } 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). Well, neither are multi-digit fd redirections (which was actually sort of the point of that austin-group thread although it came at the issue from a different direction).