Hi,

The --include switch in the copy of grep from this site:
http://gnuwin32.sourceforge.net/packages/grep.htm

does not seem to work. It appears to ignore it and greping everything.

For example if I have directories in Windows with binary and text file
and if I do this:
 grep -R --include=*.txt "include" *

it will grep even the binary files as well. Clearly this is wrong.

In the latest grep in the UnxUtils.zip from
http://sourceforge.net/projects/unxutils/ it does not have the
--include. What is happening?

Aren't they supposed to be the same?


Reply via email to