From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 857 invoked by alias); 23 Jul 2015 22:49:35 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 35878 Received: (qmail 28125 invoked from network); 23 Jul 2015 22:49:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.0 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=gzIx26Wy5wqMqda/kOOlaNf2pQC6Bs2SXcDS+JgVX+4=; b=hzMTIUM/8grz9p35mecjHzwSC+RaRHEIvY0uBHn0dEyxYNFqFOn8+SBv6guo0zhJ1Q Zwm4CgR1QVXYhxewRh/vS4i2OduxH7rabSHusPQYbioN3bXACvIrqOLrUvZ8JkVFq6Fj DCBLYL5wJwMHIt4AB4a5qaa4PXbBzWkxaLIBzoAeG79Uuk64ko5Ucc6RHuQ6nVa6jHw0 rBowO/eUPvtrjzoKpl+eYyuXm+CrBbN1k9JJcIrcdX5NgqtoOuBI7V5rUopYhCGb8qen V2cTzdvXhdznqRAPzDtSMlIsbwNbHfnxu2cuKSW37HbSiokjhutAnWC0gEJK6M5ggs4n 1a2Q== X-Gm-Message-State: ALoCoQlgebZP4SCQShZUQ4RmTaXKjTMLpDEUTxaURmdA2+ZcBm/6vtj3YqYe0zpS5RaAW7t32G4K MIME-Version: 1.0 X-Received: by 10.180.83.101 with SMTP id p5mr1038066wiy.52.1437691769956; Thu, 23 Jul 2015 15:49:29 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 Jul 2015 15:49:29 -0700 Message-ID: Subject: Re: Maximum of 9 file descriptors From: Bart Schaefer To: JD Ballard Cc: Zsh hackers list Content-Type: multipart/alternative; boundary=f46d044280ee3ec066051b92b395 --f46d044280ee3ec066051b92b395 Content-Type: text/plain; charset=UTF-8 On Thu, Jul 23, 2015 at 10:47 AM, JD Ballard wrote: > Is there a reason why file descriptors are maxed out at 9? It's not a descriptor limitation, it's a syntax limitation. The syntax for ">" permits only a single digit to the left. You can work around it this way: $ fd=10 $ cat {fd}>/tmp/foo Although FDs 10,11,12 tend to be used a lot by the shell internally. --f46d044280ee3ec066051b92b395--