With the bash shell script syntax, case switches don’t indent properly, ex:
typing
case $1 in
a)
echo hello
;;
b)
echo
goodbye
;;
*)
echo what?
;;
esac
should display:
case $1 in
a)
echo hello
;;
b)
echo goodbye
;;
*)
echo what?
;;
esac
but instead displays:
case $1 in
a)
echo hello
;;
b)
echo
goodbye
;;
*)
echo what?
;;
esac
Sorry if there’s a better place to post this, but it’s been bugging me all day! Especially since I tend to rely on “reindent lines” to fix any indentation blunders that may have popped up, but that just sends all of the case clauses flush to the left.