Skip to main content
7 events
when toggle format what by license comment
Jan 16, 2014 at 22:52 comment added janos @NirmalArri save the script for example in script.sh, and run it with bash script.sh
Jan 16, 2014 at 22:51 review Low quality posts
Jan 16, 2014 at 23:27
Jan 16, 2014 at 22:51 history edited janos CC BY-SA 3.0
added 17 characters in body
Jan 16, 2014 at 22:41 review Low quality posts
Jan 16, 2014 at 22:44
Jan 16, 2014 at 22:31 comment added Nirmal Arri Janos, I didn't know how to run this from the script: [[ $v =~ $a ]] && echo match || echo not
Jan 16, 2014 at 22:30 history edited Stéphane Chazelas CC BY-SA 3.0
need to quote otherwise $a is taken as a RE. Need to remove white spaces from IFS and -r
Jan 16, 2014 at 22:24 history answered janos CC BY-SA 3.0