We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$
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