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,14 @@
#!/bin/bash
#
# Demonstrate a more complex regular expression to detect matching words in
# a file (one per line)
#
re='\<.{4,}[tl]ing\>'
while read -r line; do
if [[ $line =~ $re ]]; then
echo "$line"
fi
done < <(shuf -n 100 /usr/share/dict/words)