Re: has something happened to grep

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



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

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux