The shift command has the effect of shifting all of the positional parameters over by a specified number By itself, shift will shift all arguments over by one With a numeric argument n, shift will shift all arguments over by n Options with arguments may be handled by shifting twice Option Processing The getopts built-in handles multiple complex options. The typeset command is used to specify formatting for a string variable set the type and attributes of variables work with functions Without options, typeset varname inside a function will make variable varname local to that function.
Options are cumulative.