diff options
author | Erich Eckner <git@eckner.net> | 2019-01-10 13:39:02 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-01-10 13:39:02 +0100 |
commit | 4fe7c6670624c8a80a026d670d7c434898d9c716 (patch) | |
tree | ac7708398d7c18cbeae963318ab51f1954101604 | |
parent | 20a1969b4d2c2162364d9348d158fff004399ea8 (diff) | |
download | markov-4fe7c6670624c8a80a026d670d7c434898d9c716.tar.xz |
generate-random-word-from-wikipedia.sh: [] are no letters
-rwxr-xr-x | generate-random-word-from-wikipedia.sh | 2 |
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}" |