From: Sebastian Gniazdowski <sgniazdowski@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: Do file descriptors survive to subshell?
Date: Thu, 15 Sep 2016 08:41:38 +0200 [thread overview]
Message-ID: <CAKc7PVA9OFBhUbkYgMD8LUGM6=CtmpxDQBNJuBeR=U9kboYeCg@mail.gmail.com> (raw)
In-Reply-To: <160914105352.ZM29864@torch.brasslantern.com>
On 14 September 2016 at 19:53, Bart Schaefer <schaefer@brasslantern.com> 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
prev parent reply other threads:[~2016-09-15 8:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20160912160148eucas1p1c7f423821260c611c9b34fbe47bfcf86@eucas1p1.samsung.com>
2016-09-12 15:29 ` Sebastian Gniazdowski
2016-09-12 16:19 ` Peter Stephenson
2016-09-12 16:29 ` Sebastian Gniazdowski
2016-09-12 18:24 ` Bart Schaefer
2016-09-13 8:54 ` Sebastian Gniazdowski
2016-09-14 17:53 ` Bart Schaefer
2016-09-15 6:41 ` Sebastian Gniazdowski [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAKc7PVA9OFBhUbkYgMD8LUGM6=CtmpxDQBNJuBeR=U9kboYeCg@mail.gmail.com' \
--to=sgniazdowski@gmail.com \
--cc=schaefer@brasslantern.com \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).