First batch of extra files

This commit is contained in:
2025-10-28 18:39:57 +01:00
parent d8c35077cb
commit 2bb22c7583
890 changed files with 40738 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
#
# String comparison with a pattern, using one of a list of patterns
#
for str in 'dog' 'pig' 'rat' 'cat' ''; do
if [[ $str == @(pig|dog|cat) ]]; then
echo "Matched '$str'"
else
echo "Didn't match '$str'"
fi
done