Move under www to ease rsync

This commit is contained in:
2025-10-29 10:51:15 +01:00
parent 2bb22c7583
commit 30ad62e938
890 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/bash
#
# String comparison with a pattern in a variable. The pattern matches any
# word that ends with 'man' that is longer than 3 letters.
#
pattern="+([[:word:]])man"
echo "Pattern is: $pattern"
for str in 'man' 'woman' 'German' 'Xman' 'romance' ''; do
if [[ $str == $pattern ]]; then
echo "Matched '$str'"
else
echo "Didn't match '$str'"
fi
done