... CHAPTER ■ ACCEPTING COMMAND-LINE OPTIONS, SWITCHES, AND PARAMETERS x) set +x ;; h) echo -e $Usage ;; *) echo -e $Usage ;; esac done } The getopts command is invoked with a list of the valid switches, ... 32 CHAPTER ■ ACCEPTING COMMAND-LINE OPTIONS, SWITCHES, AND PARAMETERS For instance, a typical tar command might be tar -xvf file.tar This could also be entered ... the Usage variable if [ "$#" -lt ] then echo -e $Usage fi 33 34 CHAPTER ■ ACCEPTING COMMAND-LINE OPTIONS, SWITCHES, AND PARAMETERS If the script did not use the -e switch, it would not format the...