]> git.ipfire.org Git - thirdparty/util-linux.git/commit
look: use WORDLIST environment variable to find word list
authorSami Kerola <kerolasa@iki.fi>
Sat, 12 Aug 2017 08:31:11 +0000 (09:31 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 21 Aug 2017 08:48:20 +0000 (10:48 +0200)
commita653878c45cd533abbd4950b2fb5ea8c6cef6395
tree5f9efd80bcb90a9beb471c4aa7400e1c86bfe4ad
parent6047c6db9c261c8048c54279ba1206ad0ca5d61e
look: use WORDLIST environment variable to find word list

The WORDLIST is the same hunspell(1) and ispell(1) uses to achieve the same.
Apparently aspell(1) does not work with files like traditional dict lists.

Reference: https://github.com/hunspell/hunspell/blob/master/man/hunspell.1#L388
Reference: http://www.skrenta.com/rt/man/ispell.1.html
Reference: http://aspell.net/man-html/Creating-an-Individual-Word-List.html#Creating-an-Individual-Word-List
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/look.1
misc-utils/look.c