This isn't working. Can this be done in find? Or do I need to xargs?
find -name 'file_*' -follow -type f -exec zcat {} | agrep -dEOE 'grep' ;
the solution is easy: execute via sh
... -exec sh -c "zcat {} | agrep -dEOE 'grep' " ;
2.1m questions
2.1m answers
60 comments
57.0k users