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 49511
- From: Jett Husher <jetthusher@xxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Possibly missing explanation on difference between '&>' and '> word 2>&1' with multios in manual
- Date: Fri, 22 Oct 2021 04:43:15 +0000
- Archived-at: <https://zsh.org/workers/49511>
- In-reply-to: <CAH+w=7aJhoaCbpqMiUbKGCgC7aUFbJtkJeqJnBq9JJN9w4Rx5A@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <WsGGA3fl7_Rls2M9BjtH39XiiEAlAGJdF69ZinN46_PUnar9xWwabMx60XEHWOxjbZNOHc7MCeRHUJ2Q_QJd8zU_iw8UvmmQqmknEZo3ZpU=@pm.me> <CAH+w=7aJhoaCbpqMiUbKGCgC7aUFbJtkJeqJnBq9JJN9w4Rx5A@mail.gmail.com>
- Reply-to: Jett Husher <jetthusher@xxxxx>
It took me some time and a lot of testing to finally get what the difference
is. It gets very tricky very quick with multiple multios, I think.
While testing, I also noticed that zsh opens files in multio regardless of
the access mode being used (manual says only writing counts). That is,
`<>file*` or even `<file*` will use multio, given they are big enough.
- Jett
Messages sorted by:
Reverse Date,
Date,
Thread,
Author