$
case foo in bar) echo "Match" esac
case $foo in bar) echo "Match" esac
You are using a case statement to compare a literal word.
case
You most likely wanted to treat this word as a $variable or $(command) instead.
$variable
$(command)
None
There was an error while loading. Please reload this page.