I have a problem that writes information to stdout and stderr, and I need to grep through what's coming to stderr, while disregarding stdout.
I can of course do it in 2 steps:
command > /dev/null 2> temp.file
grep 'something' temp.file
but I would prefer to be able to do is without temp files. Any smart piping trick?