error messages when pipeling with head util
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
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"?