Sequential writes to stdout is messed up (Bash only?)
Fekete Krisztian
fkr0@mailbox.hu
Wed Nov 24 13:20:00 GMT 2004
Yes, the test version bash 2.05b-17 seams to solve the problem.
Thanks!
BTW the one liner to demonstrate the problem was not correct
(http://cygwin.com/ml/cygwin/2004-11/msg00946.html).
The correct one is:
printf 1 > 1; while true; do cat 1; echo 2; done | cat
The difference is the "| cat" without which the correct 12 sequence is
generated.
You need to have a pipe to get the bad output.
----- Original Message -----
From: "Christopher Faylor" <cgf-no-personal-reply-please@cygwin.com>
To: <cygwin@cygwin.com>
Sent: Tuesday, November 23, 2004 5:10 PM
Subject: Re: Sequential writes to stdout is messed up (Bash only?)
> On Tue, Nov 23, 2004 at 04:52:57PM +0100, Fekete Krisztian wrote:
> >The problem can be demonstrated by executing the following in bash:
>
> You probably want to try the recently announced test version of
bash:
>
> http://cygwin.com/ml/cygwin-announce/2004-11/msg00024.html
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list