2014-12-17から1日間の記事一覧
test1.sh として echo "arg1 $1" echo "arg2 $2" bash test2.sh $2 test2.sh として echo "arg1 $1" echo "arg2 $2" を用意してテスト。 #bash test.sh 1 "2 3" arg1 1 arg2 2 3 arg1 2 arg2 3 となった。本当は、「残りの引数全部」を自然に次のプログラム…
test1.sh として echo "arg1 $1" echo "arg2 $2" bash test2.sh $2 test2.sh として echo "arg1 $1" echo "arg2 $2" を用意してテスト。 #bash test.sh 1 "2 3" arg1 1 arg2 2 3 arg1 2 arg2 3 となった。本当は、「残りの引数全部」を自然に次のプログラム…