This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: tee piping to head gives error message (also with snapshot 20050206)
Here's
> a test on a file with 4207 lines in it.....
>
> dk <at> mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 >
/dev/nu
> ll
> tee: write error
> dk <at> mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 >
/dev/nu
> ll
> dk <at> mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 >
/dev/nu
> ll
> dk <at> mace /artimi/firmware> cat diffs.txt | tee tmp2.txt | head -4100 >
/dev/nu
> ll
I reproduced this bahaviour with the most recent snapshot 20050206.
$ cat /usr/share/doc/mutt-1.4.1/manual.txt | tee tmp2.txt | head -4100
> /dev/null
tee: standard output: Broken pipe
tee: write error
Unfortunately, the recent fix of cgf in the piping code seems not to fix this
isssue.
Regards,
Christian
--
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/