$ cat test.sh #!/bin/bash
ARG1=${1-parameter_1_not_set} echo $ARG1
$ ./test.sh parameter_1_not_set
$ ./test.sh rrrr rrrr
No comments:
Post a Comment