Is there an "in" operator in bash/bourne? – unix.stackexchange.com 02:33 Posted by Unknown No Comments something like this: if [ "$1" in ("cat","dog","mouse") ]; then echo "dollar 1 is either a cat or a dog or a mouse" fi It's obviously a much shorter statement compared to say using several "or" ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel Terkaitneed to get Content database in sharepoint online using csom – sharepoint.stackexchange.comWhat are do's & dont's which should be followed for serene & calm life? – buddhism.stackexchange.comEnormous robots invade Earth through lightnings – movies.stackexchange.comWhat is the average speed of human sneeze? – biology.stackexchange.comecho a file as a single line with \n's – unix.stackexchange.comIncreasing the thickness of minimum of two curves while keeping their coloring the same – mathematica.stackexchange.com
0 Comment to "Is there an "in" operator in bash/bourne? – unix.stackexchange.com"
Post a Comment