Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Piping stderr (was Re: Two bug reports)
- X-seq: zsh-workers 16894
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: Piping stderr (was Re: Two bug reports)
- Date: Sun, 24 Mar 2002 19:09:09 +0000
- In-reply-to: <1020324190207.ZM30608@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <Pine.LNX.4.33L2.0203240032180.20227-100000@xxxxxxxxxxxxxxx> <1016988453.3443.1.camel@xxxxxxxxxxxxxxxxxxxxx> <1020324190207.ZM30608@xxxxxxxxxxxxxxxxxxxxxxx>
On Mar 24, 7:02pm, Bart Schaefer wrote:
}
} In fact (hand smacks forehead), just add braces:
}
} { /bin/sh -c 'echo out; echo err >&2' >/dev/null 2>>(cat) }
Oops, sorry, that doesn't work unless you also redirect the whole
brace expression somewhere. I confused myself.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
Messages sorted by:
Reverse Date,
Date,
Thread,
Author