From a008ec92d9d8856dfa380b16cbf8f478719a94cc Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 31 Dec 2016 21:34:36 +0200 Subject: Add script to get word list from Wikipedia --- get_word_list | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 get_word_list 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 . +# +# =*= License: GPL-3+ =*= + +set -eu + +w3m -dump https://en.wikipedia.org/wiki/PGP_word_list | + grep '^[0-9A-F][0-9A-F] ' -- cgit v1.2.1