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,23 @@
#!/bin/bash
#
# Three word regular expression
#
re='^([a-zA-Z]+) +([a-zA-Z]+) +([a-zA-Z]+) *\.?'
#
# A sentence is expected as the only argument
#
if [[ $# -ne 1 ]]; then
echo "Usage: $0 sentence"
exit 1
fi
echo "Sentence: $1"
if [[ $1 =~ $re ]]; then
echo "Matched"
for i in {0..3}; do
printf '%2d %s\n' $i "${BASH_REMATCH[$i]}"
done
fi