From: Jett Husher <jetthusher@pm.me>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
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 [thread overview]
Message-ID: <UA4eQzztfk7pWVx3rcb5hScDA8QmZGNzHvSsT_UI08ML1rzS8ZlbXF20p4r2YE_U98FF2xp1jAPtDEjsUU379Uo0XyTqfFGbYLJoAJ6JKeU=@pm.me> (raw)
In-Reply-To: <CAH+w=7aJhoaCbpqMiUbKGCgC7aUFbJtkJeqJnBq9JJN9w4Rx5A@mail.gmail.com>
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
next prev parent reply other threads:[~2021-10-22 4:49 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 [this message]
2021-10-25 19:36 ` Daniel Shahaf
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='UA4eQzztfk7pWVx3rcb5hScDA8QmZGNzHvSsT_UI08ML1rzS8ZlbXF20p4r2YE_U98FF2xp1jAPtDEjsUU379Uo0XyTqfFGbYLJoAJ6JKeU=@pm.me' \
--to=jetthusher@pm.me \
--cc=schaefer@brasslantern.com \
--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).