bug-grep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Grep --include does not work


From: LeonM
Subject: Grep --include does not work
Date: Thu, 31 May 2007 00:23:53 +1000

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

[Prev in Thread] Current Thread [Next in Thread]