フォーマットの単純な目的で大文字に変換したいので、将来のケースステートメントに準拠します。私が考えたように、ケースステートメントは大文字と小文字を区別します。
tr コマンドを echo コマンドと組み合わせて使用すると、次のような結果がすぐに得られます。
echo "Enter in Location (i.e. SDD-134)"
read answer (user enters "cfg"
echo $answer | tr '[:lower:]' '[:upper:]' which produced
cfg # first echo not upper?
echo $answer #echo it again and it is now upper...
CFG