Usage of Cygwin GNU grep missing files when using wild cards.

Steven Bender <[email protected]>
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>

Apparently the command grep -i PATN *.* will scan files and indicate special results for .EXE files,
and it will locate files of extension .BAT with the wildcard usage, but when I subset the search
by using grep -i PATN *.BAT to look for patn in just batch text files, it finds no matches.
By copying files (copy *.bat *.qqq) and making new copies, I can then use
grep -i PATN *.qqq and get the expected results.

It appears to treat the .BAT text file contents specially.
Is there a way around this ?




Steven Bender
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.