bug-gnu-utils
[Top][All Lists]
Advanced

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

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


From: Eli Zaretskii
Subject: Re: Usage of Cygwin GNU grep missing files when using wild cards.
Date: Fri, 26 Sep 2014 09:59:31 +0300

> Date: Thu, 25 Sep 2014 10:11:55 -0700
> From: Steven Bender <address@hidden>
> 
> 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.

Could it be that the files are called *.bat (lowercase) and not *.BAT
(uppercase), and that the Cygwin grep is case-sensitive about file
names?

> It appears to treat the .BAT text file contents specially.

I'd be very surprised if it did that.



reply via email to

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