Just did a fresh install of grep from the site
http://gnuwin32.sourceforge.net/packages/grep.htm.
I installed : grep-2.5.1a-2-setup.exe

When I order the command: grep -i ^100 filein.txt > fileout.txt
I expected only lines STARTING with 100 to be placed in fileout.txt

What happended?
 Also lines containing 100 but not starting with 100 are placed in fileout.txt.

Kind regards,
Gerben de Vries


Reply via email to