diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-12-31 21:34:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-12-31 21:34:36 +0200 |
commit | a008ec92d9d8856dfa380b16cbf8f478719a94cc (patch) | |
tree | a571870d9d21d1d093570f684994451e452f5e77 /get_word_list | |
parent | cf2507831c9ae30ad23a04612050586e43e8d5e9 (diff) | |
download | py_pgpwordlist-a008ec92d9d8856dfa380b16cbf8f478719a94cc.tar.gz |
Add script to get word list from Wikipedia
Diffstat (limited to 'get_word_list')
-rwxr-xr-x | get_word_list | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/get_word_list b/get_word_list new file mode 100755 index 0000000..1a58b31 --- /dev/null +++ b/get_word_list @@ -0,0 +1,22 @@ +#!/bin/sh +# Copyright 2016 Lars Wirzenius +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. +# +# =*= License: GPL-3+ =*= + +set -eu + +w3m -dump https://en.wikipedia.org/wiki/PGP_word_list | + grep '^[0-9A-F][0-9A-F] ' |