How do I find out the files in the current directory which do not contain the word foo (using grep)?
My grep does not have any -L option. I do find workaround to achieve this.
The ideas are :
make the difference between the 2 dump file with diff command.
grep 'foo' *.log | cut -c1-14 | uniq > txt1.txt
grep * *.log | cut -c1-14 | uniq > txt2.txt
diff txt1.txt txt2.txt | grep ">"