Package: aspell Version: 0.60.7~20110707-1 Severity: normal Tags: upstream Dear Maintainer,
The man page says: --extra-dicts=<list> Extra dictionaries to use. But it does not say what '<list>' mean. So let's say I have two extra dictionaries I want to use: ~/dict1 and ~/dict2. I would try: $ cd /tmp $ (echo "personal_ws-1.1 en iso-8859-1"; echo "BadWord") >dict1 $ (echo "personal_ws-1.1 en iso-8859-1"; echo "BadToo") >dict2 $ echo "BadWord BadToo" >SpellMe $ cat SpellMe | aspell -a --extra-dicts /tmp/dict1:/tmp/dict2 Error: The file "/tmp/dict1:/tmp/dict2" can not be opened for reading. $ cat SpellMe | aspell -a --extra-dicts "/tmp/dict1 /tmp/dict2" Error: The file "/tmp/dict1 /tmp/dict2" can not be opened for reading. $ cat SpellMe | aspell -a --extra-dicts "/tmp/dict1;/tmp/dict2" Error: The file "/tmp/dict1;/tmp/dict2" can not be opened for reading. $ cat SpellMe | aspell -a --extra-dicts "/tmp/dict1,/tmp/dict2" Error: The file "/tmp/dict1,/tmp/dict2" can not be opened for reading. Note that using the --extra-dicts option twice does not work either because it ignores all occurences but the last: $ cat SpellMe | aspell -a --extra-dicts /tmp/dict1 --extra-dicts /tmp/dict2 @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-20110707) & BadWord 28 0: Bad Word, Bad-Word, Byword, Headword, Basswood, Backward, Bodywork, Buzzword, Hardwood, Bowed, BadToo, Atwood, Edward, Beaded, Deadwood, Bodied, Redwood, Shadowed, Boded, Widowed, Bindweed, Baited, Batted, Bedded, Budded, Edwardo, Bentwood, Toward * 'BadWord' is in dict1 so it should not have been reported. The only thing that works is: $ (echo "add /tmp/dict1"; echo "add /tmp/dict2") >dict.multi $ cat SpellMe | aspell -a --extra-dicts /tmp/dict.multi @(#) International Ispell Version 3.1.20 (but really Aspell 0.60.7-20110707) * * However this is not how the --extra-dicts option works according to the manual page. Furthermore, there is still the issue of aspell silently ignoring duplicate --extra-dicts options instead of reporting a usage error. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages aspell depends on: ii dictionaries-common 1.12.5 ii libaspell15 0.60.7~20110707-1 ii libc6 2.13-27 ii libgcc1 1:4.7.0-1 ii libncursesw5 5.9-4 ii libstdc++6 4.7.0-1 Versions of packages aspell recommends: ii aspell-ar [aspell-dictionary] 0.0.20060329-4 ii aspell-ar-large [aspell-dictionary] 1.2-0-2 ii aspell-bg [aspell-dictionary] 4.1-3 ii aspell-ca [aspell-dictionary] 0.6-12 ii aspell-cs [aspell-dictionary] 0.0.20040614.1-2 ii aspell-da [aspell6a-dictionary] 1.6.25-1.1 ii aspell-de [aspell-dictionary] 20110609-1 ii aspell-el [aspell-dictionary] 0.50-3-6 ii aspell-en [aspell-dictionary] 7.1-0-1 ii aspell-eo [aspell-dictionary] 2.1.2000.02.25-45 ii aspell-es [aspell-dictionary] 1.11-4 ii aspell-fa [aspell-dictionary] 0.11-0-2 ii aspell-fi [aspell6a-dictionary] 0.7-18 ii aspell-fr [aspell-dictionary] 0.50-3-7 ii aspell-he [aspell-dictionary] 1.0-0-5 ii aspell-hu [aspell-dictionary] 0.99.4.2-0-3 ii aspell-it [aspell-dictionary] 2.4-20070901-0-2 ii aspell-lt [aspell-dictionary] 1.2.1-3 ii aspell-nl [aspell-dictionary] 1:2.10-1 ii aspell-no [aspell6a-dictionary] 2.0.10-5 ii aspell-pl [aspell-dictionary] 20110901-1 ii aspell-pt-br [aspell-dictionary] 20110527-2 ii aspell-pt-pt [aspell-dictionary] 20091013-4 ii aspell-ro [aspell-dictionary] 3.3.7-1 ii aspell-ru [aspell-dictionary] 0.99g5-18 ii aspell-sk [aspell-dictionary] 0.52-0-4 ii aspell-sl [aspell-dictionary] 0.60-3 ii aspell-sv [aspell-dictionary] 0.51-0-3 ii aspell-uk [aspell-dictionary] 1.6.5-2 Versions of packages aspell suggests: pn aspell-doc <none> pn spellutils <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org