Skip to main content

Timeline for Pipe find into grep -v

Current License: CC BY-SA 3.0

7 events
when toggle format what by license comment
Jul 6, 2012 at 15:00 comment added lornix {Grin} yeah, somewhere in there the logic got all hairy. Nothing like an inversed false logic multiple test to make your head hurt.
Jul 6, 2012 at 14:58 comment added James Youngman xargs -0 grep -v "something something" should be xargs -0 grep -v "something something" /dev/null otherwise you will get odd results when find produces no matching files.
Jul 5, 2012 at 19:21 history edited lornix CC BY-SA 3.0
added 620 characters in body. Added -L option to show files without matches
Jul 5, 2012 at 19:17 comment added lornix he's looking for specific contents in the *.java files
Jul 5, 2012 at 19:14 comment added user732 If the author of the question just wants to find filenames, shouldn't the grep be 'grep -l -v'?
Jul 5, 2012 at 19:14 comment added Hyangelo I tried your modifications and I'm still not getting the result I am expecting. I'll try updating the question to make it clearer.
Jul 5, 2012 at 19:08 history answered lornix CC BY-SA 3.0