-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2194
Joachim Ansorg edited this page Nov 12, 2021
·
2 revisions
case foo in
bar) echo "Match"
esaccase $foo in
bar) echo "Match"
esacYou are using a case statement to compare a literal word.
You most likely wanted to treat this word as a $variable or $(command) instead.
None