GNU Bash (bash) group
-
@mcscx@quitter.se (mcscx@quitter.se)'s status on Tuesday, 26-Dec-2017 10:41:10 UTC @mcscx@quitter.se Example for #RegExp in !bash:
$ x=d; [[ $x =~ [abc] ]] && echo yes || echo no
no
$ x=c; [[ $x =~ [abc] ]] && echo yes || echo no
yes -
@mcscx@quitter.se (mcscx@quitter.se)'s status on Friday, 14-Jul-2017 10:27:51 UTC @mcscx@quitter.se @vinzv I have created a new !bash group. http://qttr.at/1w9h mentions an invalid identica bash group. -
@mcscx@quitter.se (mcscx@quitter.se)'s status on Friday, 14-Jul-2017 10:24:08 UTC @mcscx@quitter.se !bash tip: After setting "shopt -s extglob" you can exclude patterns from bash's #pathname #expansion:
ls /bin/!(*a*|*b*)