Using case and arrays together in bash – unix.stackexchange.com 05:33 Posted by Unknown No Comments Is it possible, to check, if a variable is contained inside an array, using case? I would like to do something like ARR=( opt1 opt2 opt3 ); case $1 in $ARR) echo "Option is contained in ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitLinked list in Python which gets values from keyboard – codereview.stackexchange.comWho is responsible for pinpointing bugs? – sqa.stackexchange.comHow to survive the G-force of Space Travel – worldbuilding.stackexchange.comWhy would boiling milk in an electric kettle break the kettle? – cooking.stackexchange.comExponentiation Sequence – codegolf.stackexchange.comWhat's going to happen to Unity desktop environment And default Ubuntu version? – askubuntu.com
0 Comment to "Using case and arrays together in bash – unix.stackexchange.com"
Post a Comment