in reply to I need "Antigrep"

Erm, just grep for the pattern and invert the sense of exit code (if grep exits successfully (the file does contain the pattern at least once) then you don't want that file; if it exits with an error you do want it (since it didn't contain the pattern at all)).

Update: Actually if you have GNU grep (i.e. don't know if this is a kosher POSIX grep option) just use the -L flag:

-L, --files-without-match only print FILE names containing no match

Replies are listed 'Best First'.
Re^2: I need "Antigrep"
by tphyahoo (Vicar) on Aug 15, 2006 at 18:16 UTC
    /me smacks self on head...
Re^2: I need "Antigrep"
by tphyahoo (Vicar) on Aug 15, 2006 at 18:07 UTC
    Is that a bash (non perl) solution?

    If so, could you explain how I do that?