From: Daniel Shahaf <d.s@daniel.shahaf.name>
To: Jett Husher <jetthusher@pm.me>
Cc: zsh-workers@zsh.org
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 [thread overview]
Message-ID: <20211025193631.GA8612@tarpaulin.shahaf.local2> (raw)
In-Reply-To: <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.
prev parent reply other threads:[~2021-10-25 19:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-19 15:24 Jett Husher
2021-10-19 21:53 ` Bart Schaefer
2021-10-21 14:49 ` Daniel Shahaf
2021-10-22 4:43 ` Jett Husher
2021-10-25 19:36 ` Daniel Shahaf [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=20211025193631.GA8612@tarpaulin.shahaf.local2 \
--to=d.s@daniel.shahaf.name \
--cc=jetthusher@pm.me \
--cc=zsh-workers@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).