Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: |& loses data (buffering bug?)
- X-seq: zsh-users 7049
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: |& loses data (buffering bug?)
- Date: Fri, 13 Feb 2004 16:44:09 +0100
- In-reply-to: <20040213153031.GK27168@xxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20040213141505.GG27168@xxxxxxxxxxxxxx> <20040213143359.4ed3c3e5@tinky-winky> <20040213144311.GJ27168@xxxxxxxxxxxxxx> <20040213150016.1e64a843@tinky-winky> <20040213153031.GK27168@xxxxxxxxxxxxxx>
- Sender: Vincent Lefevre <vincent@xxxxxxxxxx>
On 2004-02-13 16:30:31 +0100, Vincent Lefevre wrote:
> On 2004-02-13 15:00:16 +0000, Peter Stephenson wrote:
> > Can you get the same effect with e.g.
> >
> > perl -e 'open STDERR, ">&STDOUT";
> > open STDIN, "cvs status|";
> >
> > exec "less";'
> >
> > which doesn't involve zsh at all?
>
> It doesn't work either, but this is different: the stderr output is
> completely missing.
In fact, it doesn't do the same thing: STDERR is redirected to the
terminal here. For instance:
greux:...ftware/mpfr-trunk> perl -e 'open STDERR, ">&STDOUT"; open STDIN, "cvs status|"; exec "cat > /dev/null";'
cvs status: Examining .
cvs status: Examining o.alpha
cvs status: Examining o.linux
cvs status: Examining o.solaris
cvs status: Examining o.sunos
cvs status: Examining tests
greux:...ftware/mpfr-trunk>
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.org/> - 100%
validated (X)HTML - Acorn Risc PC, Yellow Pig 17, Championnat International
des Jeux Mathématiques et Logiques, TETRHEX, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
Messages sorted by:
Reverse Date,
Date,
Thread,
Author