This way I get colored output:
grep class testdata.py
Since this gets set in my .bashrc:
alias grep='grep -n --color'
But if I search like this, I see no colored output:
find -name '*.py' | xargs grep "class"
Has someone an idea how to enable colored output of grep
if called via find ...| xargs grep
?