Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: multi-digit file descriptors
- X-seq: zsh-users 19863
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: multi-digit file descriptors
- Date: Thu, 12 Feb 2015 11:16:57 +0100
- In-reply-to: <20150211204708.GA10940@chaz.gmail.com> <CAH+w=7aT7bpc=Z+h9dK_HBcoLytBg85syuC_TfTONZ-Rci7Dhw@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
On 2015-02-11 09:27:51 -0800, Bart Schaefer wrote:
> On Feb 11, 2015 8:28 AM, "Vincent Lefevre" <vincent@xxxxxxxxxx> wrote:
> > The behavior of dash and ksh93 is similar to zsh. But is there any
> > reason?
>
> Zsh reserves descriptors 10 and up for internal use; for example, 10 is
> nearly always a copy of the original input terminal in an interactive shell.
But this doesn't explain the error message, in particular...
On 2015-02-11 20:47:09 +0000, Stephane Chazelas wrote:
> Related discussion on the austin-group mailing list:
>
> http://thread.gmane.org/gmane.comp.standards.posix.austin.general/10094
which mentions the use of 09. With zsh:
( echo foo >&09; ) 09>my_file
still gives an error:
redir:4: parse error near `09'
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author