At 04:11 PM 12/25/01 -0500, you wrote:
>On Tue, 25 Dec 2001, Ben Ocean wrote:
>
> > At 12:52 AM 12/26/01 +1000, you wrote:
> > >On Tue, 25 Dec 2001, Ben Ocean wrote:
> > >
> > > > Hi;
> > > > I need to be able to search the files in a directory for a certain 
> word
> > > and
> > > > return the files that have it. What's the easy way to do this?
> > >
> > >grep -l word dir/*
> >
> > Just to make sure I have this right...
> > grep <dash> <pipe> <my chosen word> <the directory it's in>/*
>
>that's not a pipe, that's an "ell".  and you would be strongly
>urged to read the man page for grep.

Apologies. I made the stupid mistake of thinking the O'Reilly book *UNIX In 
a Nutshell* would have all the pertinent info of a man page, but I was 
wrong. It didn't address this issue; the man page did.
Thanks,
BenO




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to