LeonM <[EMAIL PROTECTED]> writes: > 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.
This is not a bug. The files mentioned on the command line will always be considered, independent of --include. The latter is only consulted for files encountered during the recursive walk. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."
