$*和$@区别
for i in "$@"
do
echo $i
done
# ./test.sh 1 2 3 4
1
2
3
4
for i in "$*"
do
echo $i
done
# ./test.sh 1 2 3 4
1 2 3 4
for i in "$@"
do
echo $i
done
# ./test.sh 1 2 3 4
1
2
3
4
for i in "$*"
do
echo $i
done
# ./test.sh 1 2 3 4
1 2 3 4