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 TerkaitHow does a species who cannot distinguish left from right build their cities? – worldbuilding.stackexchange.comDid J.K. Rowling say that a gun would beat a wand? – scifi.stackexchange.comThe Stack Exchange API v2.2 is down / unstable – meta.stackexchange.comIn code reviews, should the reviewer always present a solution for issues? – softwareengineering.stackexchange.comhow to draw circles on a line and rotate them – tex.stackexchange.comLarge powers of sine appear Gaussian -- why? – math.stackexchange.com
0 Comment to "How to output an individual element of "$@"? – unix.stackexchange.com"
Post a Comment