From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6932 invoked by alias); 15 Sep 2016 08:17:17 -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: 21914 Received: (qmail 25547 invoked from network); 15 Sep 2016 08:17:17 -0000 X-Qmail-Scanner-Diagnostics: from mail-qk0-f180.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.220.180):SA:0(0.0/5.0):. Processed in 0.400201 secs); 15 Sep 2016 08:17:17 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.220.180 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=rSZgE63l7YbecS5/EgrrwZo32Cv+MJ/UFtQA6NoKh30=; b=hWydVSF/EXJsz4sC+VGp46aKDru6liQxaMEniDLCfxVi0OUBZpv5YKT0xFEwc+o+B9 YtshN+nwRuxUmfxkdKGcgfUblTRmC+nSIwcjMs4DUmHZ/0pzTIYijOiagpSb+yICvO80 iWq2/hFRBZ1PEItMTNmSA/cXo709JqP4++xg9YEoW07Lr4vJ97JKePi6RaJ4f8BSrU6T SND0PrLOo/qNLoXPqBKd571VVOcxiR7Xu9fCm0fKLEPPktGj04afDog7N2Zv3wjf3dFM Wo+hQZsvBDhl9q3jwOCboP5BPQhlZQvE0xT3IVxX+jjKqH9x5AmC08j7g6YX7HQaAJXp 4QPQ== 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:from:date :message-id:subject:to:cc; bh=rSZgE63l7YbecS5/EgrrwZo32Cv+MJ/UFtQA6NoKh30=; b=V775jySwEnRkZuZ6B6rKQ+EBnGvVgtZs557+7aYYhJrqWIdD+AZC1GWjgxqogsI8hW URf8+qnHcNIJ3l6ogVtEd/vA+ELyiHXRUQQjj76PCtgk56xIAfq1pvz8cSeLWPaEs9Wm urzIjZQUp6IOBurwCgLC3PbOueuYAyduHsaq+VdxMoX/D6Rswi++MgoQiGx8DgHu4Z/P V/Lbb8a+jjuQjW5mowNmZ9wtr3YncTSRAg7SbKdajK9g3l3ciQ1rWY1u42N0/3cIGsbn Yx+t4C1Okp6uKXu/Q0wNmHhXsigMYgETYFI0ocvLD+vkhjul/ewSIL4nYKOwB2YZ12NW SlRg== X-Gm-Message-State: AE9vXwPQWyoDF6EVqyXqGCKButRjvlu61uDr50wgf5UYm1OBzrrEgNWcOGpcWEq0bqrdqFB6YTX1GTd+BuJIow== X-Received: by 10.55.209.202 with SMTP id o71mr8077271qkl.54.1473921718599; Wed, 14 Sep 2016 23:41:58 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <160914105352.ZM29864@torch.brasslantern.com> References: <20160912171959.2516a91e@pwslap01u.europe.root.pri> <160912112451.ZM25357@torch.brasslantern.com> <160914105352.ZM29864@torch.brasslantern.com> From: Sebastian Gniazdowski Date: Thu, 15 Sep 2016 08:41:38 +0200 Message-ID: Subject: Re: Do file descriptors survive to subshell? To: Bart Schaefer Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 On 14 September 2016 at 19:53, Bart Schaefer wrote: > Under "Conditional Expressions": > > [...] > > -r FILE > true if FILE exists and is readable by current process. > > [...] > > In each of the above expressions, if FILE is of the form `/dev/fd/N', > where N is an integer, then the test applied to the open file whose > descriptor number is N, even if the underlying system does not support > the /dev/fd directory. > > [...] > Should have just read about all the tests, thanks Best regards, Sebastian Gniazdowski