Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: |& loses data (buffering bug?)



On Fri, 13 Feb 2004 15:15:05 +0100
Vincent Lefevre <vincent@xxxxxxxxxx> wrote:

> Hi,
> 
> I've noticed that when I use |&, data from either stdout or stderr
> (of the first command) are lost. For instance, the output of a
> "cvs status |& less" sometimes gives the following:

Have you tried typing `F' in less?  It could be the output is jerky and less hasn't actually read to the end of the file.

It's pretty unlikely zsh has been losing data all this time and no-one's
noticed it --- particularly since all zsh has to do is open and redirect
the file descriptors.

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author