Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Possibly missing explanation on difference between '&>' and '> word 2>&1' with multios in manual
- X-seq: zsh-workers 49523
- From: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- To: Jett Husher <jetthusher@xxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: Possibly missing explanation on difference between '&>' and '> word 2>&1' with multios in manual
- Date: Mon, 25 Oct 2021 19:36:31 +0000
- Archived-at: <https://zsh.org/workers/49523>
- In-reply-to: <UA4eQzztfk7pWVx3rcb5hScDA8QmZGNzHvSsT_UI08ML1rzS8ZlbXF20p4r2YE_U98FF2xp1jAPtDEjsUU379Uo0XyTqfFGbYLJoAJ6JKeU=@pm.me>
- List-id: <zsh-workers.zsh.org>
- References: <WsGGA3fl7_Rls2M9BjtH39XiiEAlAGJdF69ZinN46_PUnar9xWwabMx60XEHWOxjbZNOHc7MCeRHUJ2Q_QJd8zU_iw8UvmmQqmknEZo3ZpU=@pm.me> <CAH+w=7aJhoaCbpqMiUbKGCgC7aUFbJtkJeqJnBq9JJN9w4Rx5A@mail.gmail.com> <UA4eQzztfk7pWVx3rcb5hScDA8QmZGNzHvSsT_UI08ML1rzS8ZlbXF20p4r2YE_U98FF2xp1jAPtDEjsUU379Uo0XyTqfFGbYLJoAJ6JKeU=@pm.me>
Jett Husher wrote on Fri, Oct 22, 2021 at 04:43:15 +0000:
> While testing, I also noticed that zsh opens files in multio regardless of
> the access mode being used (manual says only writing counts).
Well, not quite. That section begins:
.
If the user tries to open a file descriptor for writing more than once,
.
but there is actually a paragraph, buried halfway through that section,
that reads:
.
If the user tries to open a file descriptor for reading more than once,
So, the information is there, but it's not clearly organized. Again,
anyone wants to take a stab at that section? The sources are in Doc/Zsh/.
Thanks, Jett.
Daniel
> That is, `<>file*` or even `<file*` will use multio, given they are
> big enough.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author