Menu

#560 error messages when pipeling with head util

Chess
open
nobody
None
9
2015-07-05
2015-07-05
Scott R
No

I noticed an intermittent (about 5% of time) issue with "head" v5.3.0 when using with pipe lines under win XP.

Example:
pkunzip -c %~nxs1 install.rdf | findstr /c:"em:name" | head -1 > foo3.txt
I sometimes see message "FINDSTR: write error"

This appears ok:
pkunzip -c %~nxs1 install.rdf | findstr /c:"em:name" > foo2.txt
head -1 foo2.txt > foo3.txt

Output is correct even when you get error message. Is it an issue with "head"?

Discussion