Quote:
Originally Posted by grail
So something like:
Code:
grep -vl 'linux/slab.h' $(grep -lr "kfree" v4l-*/*)
|
So, if I want to redirect the results to a text file named kfree2.txt, then it would be
Code:
grep -vl 'linux/slab.h' $(grep -lr "kfree" v4l-*/*) >> kfree2.txt
correct?
Thanks for the quick answer. I'm still at 300+ files, so hopefully this will knock things down a bit.
I had to tweak the command a bit. The -vl wasn't working (it gave me the same files that I already had), so I put in this
Code:
grep -L 'linux/slab.h' $(grep -lr "kfree" v4l-*/*) >> kfree2.txt
and it knocked it down to 190 files. So, hopefully that is the right number. Thanks for the help though, since I wouldn't have even gotten close without you.
Have a great day
Patrick.