grep on Windows XP vs. Windows 7

Posted by cschol on Super User See other posts from Super User or by cschol
Published on 2010-04-21T02:26:07Z Indexed on 2010/04/21 2:34 UTC
Read the original article Hit count: 624

Filed under:
|
|
|

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?

© Super User or respective owner

Related posts about grep

Related posts about gnuwin32