grep on Windows XP vs. Windows 7
- by cschol
I am using grep from Gnuwin32 on Windows.
On Windows XP, the following
grep -e "foo" NUL
results in the following output
grep: NUL: invalid argument
On Windows 7, the same arguments result in no output at all.
Why is the output different between Windows XP and Windows 7?