Move under www to ease rsync
This commit is contained in:
9
www/eps/hpr2659/hpr2659_bash11_ex3.sh
Executable file
9
www/eps/hpr2659/hpr2659_bash11_ex3.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#
|
||||
# String comparison with a pattern, using an 'extglob' type pattern
|
||||
#
|
||||
str="Further ancillary Bash tips - 11"
|
||||
if [[ $str == +([[:alnum:] -]) ]]; then
|
||||
echo "Matched"
|
||||
fi
|
||||
Reference in New Issue
Block a user