シェルスクリプト総合 その22
■ このスレッドは過去ログ倉庫に格納されています
0271名無しさん@お腹いっぱい。
2014/02/19(水) 22:59:42.02$ cat hoge.sh
echo "hoge.sh is called with $1"
if [ "$1" = "fuga.txt" ] ; then
fuga="fuga2.txt"
. ./hoge.sh $fuga
fi
$ . ./hoge.sh fuga.txt
hoge.sh is called with fuga.txt
hoge.sh is called with fuga2.txt
■ このスレッドは過去ログ倉庫に格納されています