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 [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]