Skip to content

Instantly share code, notes, and snippets.

@handlename
Created August 7, 2014 08:05
Show Gist options
  • Save handlename/17e43ac097e36b8127cc to your computer and use it in GitHub Desktop.
Save handlename/17e43ac097e36b8127cc to your computer and use it in GitHub Desktop.
#!/bin/sh
echo "\$1"
echo $1
echo ""
echo "\${@:3}"
echo ${@:3}
echo ""
echo "\"\${@:3}\""
echo "${@:3}"
$ ./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