This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: tee piping to head gives error message
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 7 Feb 2005 18:31:47 -0000
- Subject: RE: tee piping to head gives error message
> -----Original Message-----
> From: cygwin-owner On Behalf Of Dave Korn
> Sent: 07 February 2005 18:13
>
> > But the number of lines/bytes at which the error disappears
> > does not seem to be constant.
Ah, I just managed to reproduce this. That is indeed rather strange. Hmm.
Oh, hang on, it gets more interesting, I just got it to *really* fail. Here's
a test on a file with 4207 lines in it.....
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
tee: write error
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
tee: write error
dk@mace /artimi/firmware>
dk@mace /artimi/firmware>
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
tee: write error
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
tee: write error
dk@mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 > /dev/nu
ll
Terminate batch job (Y/N)?
Wow. The last time where I tried it, it paused for a long time as if it had
hung, and then managed to kill my entire bash shell and cygwin.bat session. I
guess there really is a bug there.
cheers,
DaveK
--
Can't think of a witty .sigline today....
--
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/