2013年5月10日 - bin/bash while getopts "h:s:" arg; do case $arg in h) echo "usage" ;; s) ...
stackoverflow.com