Re: Using Find with Grep
On Fri, May 07, 2004 at 09:21:16AM -0500, Rick Weinbender wrote:
> 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.
-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.
--
Colin Watson [cjwatson@flatline.org.uk]
Reply to: