Created
August 7, 2014 08:05
-
-
Save handlename/17e43ac097e36b8127cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "\$1" | |
echo $1 | |
echo "" | |
echo "\${@:3}" | |
echo ${@:3} | |
echo "" | |
echo "\"\${@:3}\"" | |
echo "${@:3}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./test.sh foo "bar baz" qux | |
$1 | |
foo | |
${@:3} | |
qux | |
"${@:3}" | |
qux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment