ISPELL-WRAPPER(1) | ISPELL-WRAPPER(1) |
ispell-wrapper - smart wrapper for ispell
ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file Options (all long only options): --emacs=name Set the language to use by emacs dict name --language=regexp Set the language to use by name --dry-run Only show what would have done
ispell-wrapper is a wrapper script for ispell intended to be used in a Debian system in conjunction with the infrastructure introduced by the dictionaries-common package. Option --dry-run will show the string to be run without doing anything else.
It automatically sets the -d, -w, and -T options to ispell as a function of the chosen language. Of course, this only works for dictionary packages that comply with the above mentioned Policy.
Here is how the language is defined (in order of priority):
Note: regexp matches are case-insensitive and the ISO-8859-1 special characters are transformed into their ASCII equivalents. German ess-zet is equivalent to the character "s" and the ae ligature to the character "e".
Let us say that the following dictionaries are installed in the system (as appearing in the Debconf question at installation time):
castellano (Spanish TeX mode) castellano8 (Spanish 8 bit) português (European Portuguese) português brasileiro (Brazilian Portuguese)
Choosing the regexp (either in the --language option or in the environment variable ISPELLDEFAULT) to be "span" will yield an error, since two languages will match ("castellano" and "castellano8"). However, if the regexp is "span.*8", the language "castellano8 (Spanish 8 bit)" will be chosen.
Rafael Laboissiere
2018-11-15 | 1.28.1 |