How to output an individual element of "$@"? – unix.stackexchange.com 17:04 Posted by Unknown No Comments I have read that $@ is an array that holds the positional parameters. I have tried to output an element of the $@ array: echo ${@[1]} But bash is giving me this error: test.sh: line 1: ${@[1]}: ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Unknown
0 Comment to "How to output an individual element of "$@"? – unix.stackexchange.com"
Post a Comment