2010-07-24 シェルスクリプトで引数がない場合のチェック プログラム シェルスクリプト #!/bin/sh if [ "$1" = "" ] then echo "no argument" fi