[CentOS] Re: has something happened to grep

Fri May 16 13:13:25 UTC 2008
Jerry Geis <geisj at pagestation.com>

>
> 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

Yes I do actually. There is a -f filename of which I dont need.

I tried rm *f and it is not removing it. No what?

Jerry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080516/c7e0adb7/attachment-0005.html>