shellcheck/goodcase/ifcommand

5 lines
60 B
Plaintext

if file foo 2>&1 | grep lol 2> /dev/null
then
echo cow
fi