vi value.sh
#! /bin/bash
echo "$# parameter"
echo "$@"
运行:chmod u+x value.sh
./value a "b c"
结果:2 parameter
./value a "b c"
vi value.sh
#! /bin/bash
echo "$# parameter"
echo "$@"
运行:chmod u+x value.sh
./value a "b c"
结果:2 parameter
./value a "b c"