Re: Using Find with Grep
thanks man! :-)
It works great, and doesn't stop
on the first match.
-Rick
*****
kd4d@comcast.net wrote:
> Hello:
>
> Try "man grep" at any Unix command line. You might find something
> like...
>
> -L, --files-without-match
> Suppress normal output; instead print the name of
> each input file from which no output would normally
> have been printed. The scanning will stop on the
> first match.
>
> If you need to find all such files, you can easily write a loop in
> a shell script.
>
> Mark
> > How can I make the following expression
> > display only occurrences that do NOT contain the
> > searchstring. Is this possible?
> >
> > find /home -name *.txt -exec grep searchstring {} \;
> >
> > I want to search for the absense of a particular commandline
> > in a user config file.
> >
> > TIA,
> >
> > -Rick
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> >
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: