summaryrefslogtreecommitdiff
path: root/generate-random-word-from-wikipedia.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate-random-word-from-wikipedia.sh')
-rwxr-xr-xgenerate-random-word-from-wikipedia.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate-random-word-from-wikipedia.sh b/generate-random-word-from-wikipedia.sh
index 6b43c81..c52c2ee 100755
--- a/generate-random-word-from-wikipedia.sh
+++ b/generate-random-word-from-wikipedia.sh
@@ -27,7 +27,7 @@ if [ ! -s "${base_dir}/.words.${depth}" ]; then
printf '%s\n' "${urls[@]}" \
| parallel -j0 -n1 curl -x 'socks5://127.0.0.1:9050' -s \
| "${base_dir}/remove-tags.sh" \
- | tr -C '[a-zA-ZäöüÄÖÜß]' '\n' \
+ | tr -C 'a-zA-ZäöüÄÖÜß' '\n' \
| grep -vxF '' \
| sort -u \
> "${base_dir}/.words.${depth}"