From: Vincent Lefevre <vincent@vinc17.org>
To: zsh-users@sunsite.dk
Subject: Re: |& loses data (buffering bug?)
Date: Fri, 13 Feb 2004 16:44:09 +0100 [thread overview]
Message-ID: <20040213154409.GL27168@greux.loria.fr> (raw)
In-Reply-To: <20040213153031.GK27168@greux.loria.fr>
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@vinc17.org> - 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
next prev parent reply other threads:[~2004-02-13 15:44 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-13 14:15 Vincent Lefevre
2004-02-13 14:33 ` Peter Stephenson
2004-02-13 14:43 ` Vincent Lefevre
2004-02-13 15:00 ` Peter Stephenson
2004-02-13 15:30 ` Vincent Lefevre
2004-02-13 15:44 ` Vincent Lefevre [this message]
2004-02-13 16:12 ` Peter Stephenson
2004-02-13 16:17 ` Vincent Lefevre
2004-02-13 17:33 ` Vincent
2004-02-14 11:32 ` Vincent Lefevre
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=20040213154409.GL27168@greux.loria.fr \
--to=vincent@vinc17.org \
--cc=zsh-users@sunsite.dk \
/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).