shellcheck/goodcase/ifcommand

4 lines
60 B
Text

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