Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Redirection bug for stderr?
- X-seq: zsh-workers 33727
- From: Pierre Neidhardt <ambrevar@xxxxxxxxx>
- To: Stephane Chazelas <stephane.chazelas@xxxxxxxxx>
- Subject: Re: Redirection bug for stderr?
- Date: Thu, 20 Nov 2014 21:28:54 +0100
- Cc: zsh-workers@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=SUMgtxxZgpisEILB4BV8cPT3qHJiF00vpWP7mF47xkA=; b=iuXg8z31elCB4T9MBE2ux4jS5MUwIT3TFWV4WcAQ5KwIgJghT99e7eYrjsJX6CxYwr 3gqFIn7S6hJNdznMzTNYKRbpcMRrJsa3MJ0YxdkXXMd8Sw6Lap6/ItvgJ3MDP+dv+9PN RBzYFnDuvL87HqNtR/MwQY/3VFXfF0DvkAreuXbKD3Zam4k1gMFVa16OIVoy5F6p1ICP YAOP1A4demR6fr8FEaf86egZjPk9dV96irjvkQySPf5R0hIwPiLRQEcynTi1QB6OeMB4 B3ZNJvpyQi7lS3xZHiq6sCj3Suu5Q7tKwCmOD1wpo5vSn3R945rSa4WBiI9ZYAbSgqjo B11A==
- In-reply-to: <20141120165859.GA10542@chaz.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20141120104440.GA23262@gmail.com> <20141120160816.0d259011@pwslap01u.europe.root.pri> <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!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author