You want to use getopt with long and short options. An example from working code: # Parse arguments TEMP=$(getopt -n $PROGRAM_NAME ...
www.google.com.tw