summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-10 13:39:02 +0100
committerErich Eckner <git@eckner.net>2019-01-10 13:39:02 +0100
commit4fe7c6670624c8a80a026d670d7c434898d9c716 (patch)
treeac7708398d7c18cbeae963318ab51f1954101604
parent20a1969b4d2c2162364d9348d158fff004399ea8 (diff)
downloadmarkov-4fe7c6670624c8a80a026d670d7c434898d9c716.tar.xz
generate-random-word-from-wikipedia.sh: [] are no letters
-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}"