From: Pierre Neidhardt <ambrevar@gmail.com>
To: Stephane Chazelas <stephane.chazelas@gmail.com>
Cc: zsh-workers@zsh.org
Subject: Re: Redirection bug for stderr?
Date: Thu, 20 Nov 2014 21:28:54 +0100 [thread overview]
Message-ID: <20141120202854.GA5798@gmail.com> (raw)
In-Reply-To: <20141120165859.GA10542@chaz.gmail.com>
OK, thanks for the explanation! :)
On 14-11-20 16:58:59, Stephane Chazelas wrote:
> 2014-11-20 16:08:16 +0000, Peter Stephenson:
> [...]
> > % { print output; print error >&2 } 2>&1 >foo.out | sed 's/error/erratic'
> [...]
> > So if you want to turn this effect off, you need
> > to unset the option `MULTIOS'.
> >
>
> Or:
>
>
> % { print output; print error >&2 } 2>&1 >&- >foo.out | sed 's/error/erratic/'
>
>
> (note the typo above (missing / in s/foo/bar).
>
> --
> Stephane
>
--
Pierre Neidhardt
Ma Bell is a mean mother!
next prev parent reply other threads:[~2014-11-20 20:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 10:44 Pierre Neidhardt
2014-11-20 16:08 ` Peter Stephenson
2014-11-20 16:58 ` Stephane Chazelas
2014-11-20 20:28 ` Pierre Neidhardt [this message]
2014-11-21 11:29 ` [PATCH][DOC] " Stephane Chazelas
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=20141120202854.GA5798@gmail.com \
--to=ambrevar@gmail.com \
--cc=stephane.chazelas@gmail.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).