Stream grep from subprogram, not tail file
Does a simple one liner exist for grepping continuous output from a
program rather than just a file?
Now just as an example, I would like to skip lines containing PHPUnit in
them. For obvious reasons the following gist does not do that:
phpunit tests/cases | grep -v --line-buffered "PHPUnit"
Can it be done as a universally usable oneliner, without user defined
functions and so?
No comments:
Post a Comment