I'd like to execute this command:
find /apps/ -type f -print0 | grep -z log$ | xargs -0 grep 'this->aForm'
And in parallel, I'd like to see which files are being processed.
How to to this?
closed as off-topic by voretaq7♦ Jul 10 '13 at 15:25
There is a similar question en Stack Overflow:
The idea is to use named pipes, in bash you can simply do:
But in the general case, use
(both examples are from the Stack Overflow answer)