[CentOS] has something happened to grep

Fri May 16 10:51:47 UTC 2008
Mogens Kjaer <mk at crc.dk>

Jerry Geis wrote:
> Hi all,
> 
> when I do a "grep JERRY *.h" nothing is returned which is what I expect.
> This is in my source directory...
> when I do a "grep JERRY *" every file is returned an a line printed even 
> though there is no JERRY on the line.
> Then if I do a "grep JERRY *.c" just the 4 lines that have JERRY are 
> returned.

Do you have a file name that starts with a "-" in your directory?

Mogens

-- 
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk at crc.dk Homepage: http://www.crc.dk