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 Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitMisplaced \omit when adding align* within tabularx – tex.stackexchange.comWhat is unsigned char near? – electronics.stackexchange.comWhat is so special about set theory anyway? – mathoverflow.netIs Greatsword superior to Greataxe? – rpg.stackexchange.comRebuilding Kowloon Walled City? – worldbuilding.stackexchange.comIs the intersection of two subgroups, defined below, always trivial? – mathoverflow.net
0 Comment to "How to output an individual element of "$@"? – unix.stackexchange.com"
Post a Comment