{
    "mode": "man",
    "parameter": "ISPELL-WRAPPER",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/ISPELL-WRAPPER/1/json",
    "generated": "2026-10-22T13:24:13Z",
    "synopsis": "ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file\nOptions (all long only options):\n--emacs=name           Set the language to use by emacs dict name\n--language=regexp      Set the language to use by name\n--dry-run              Only show what would have done",
    "sections": {
        "NAME": {
            "content": "ispell-wrapper - smart wrapper for ispell\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file\n\nOptions (all long only options):\n--emacs=name           Set the language to use by emacs dict name\n--language=regexp      Set the language to use by name\n--dry-run              Only show what would have done\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "ispell-wrapper is a wrapper script for ispell intended to be used in a Debian system in\nconjunction with the infrastructure introduced by the dictionaries-common package. Option\n--dry-run will show the string to be run without doing anything else.\n\nIt automatically sets the -d, -w, and -T options to ispell as a function of the chosen\nlanguage.  Of course, this only works for dictionary packages that comply with the above\nmentioned Policy.\n\nHere is how the language is defined (in order of priority):\n\n1)  By  matching  the emacs dict name given in --emacs option to the name of one of the emacs\ndicts names provided by installed languages in the  system.  This  match  must  be  exact\n(although  is  case  insensitive).   Note  that this will override any value given in the\n--language option.\n\n2)  By matching the regexp given in option --language to the list of installed  languages  in\nthe system.\n\n3)  By  matching  the  regexp stored in the environment variable ISPELLDEFAULT to the list of\ninstalled languages in the system.\n\n4)  By  using  the  value  stored  in   the   user-specific   file   ~/.ispell-default   (use\nselect-default-iwrap(1) to set it).\n\n5)  By  using  the value stored in the site-wide file /etc/dictionaries-common/ispell-default\n(use select-default-ispell(8) as superuser to set it).\n\nNote:  regexp  matches  are  case-insensitive  and  the  ISO-8859-1  special  characters  are\ntransformed  into their ASCII equivalents.  German ess-zet is equivalent to the character \"s\"\nand the ae ligature to the character \"e\".\n",
            "subsections": []
        },
        "EXAMPLE": {
            "content": "Let us say that the following dictionaries are installed in the system (as appearing  in  the\nDebconf question at installation time):\n\ncastellano (Spanish TeX mode)\ncastellano8 (Spanish 8 bit)\nportuguês (European Portuguese)\nportuguês brasileiro (Brazilian Portuguese)\n\nChoosing  the  regexp  (either  in  the  --language  option  or  in  the environment variable\nISPELLDEFAULT) to be \"span\" will yield an error, since two languages will match (\"castellano\"\nand \"castellano8\").  However, if the regexp is \"span.*8\", the language \"castellano8  (Spanish\n8 bit)\" will be chosen.\n",
            "subsections": []
        },
        "ENVIRONMENT": {
            "content": "ISPELLDEFAULT\nRegexp  that  matches the name of the default language to use, if no --language option is\ngiven.\n",
            "subsections": []
        },
        "FILES": {
            "content": "$HOME/.ispell-default\nContains the name of the language to use, if no --language option  is  given  or  if  the\nISPELLDEFAULT environment variable is not set.  This is a user-specific choice.\n\n/etc/dictionaries-common/ispell-default\nName  of  the  language  to  use  when everything above is not set. This is a system-wide\nsetting.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "select-default-ispell(8), select-default-iwrap(1)\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Rafael Laboissiere\n\n1.29.7                                        2023-9-07                            ISPELL-WRAPPER(1)",
            "subsections": []
        }
    },
    "summary": "ispell-wrapper - smart wrapper for ispell",
    "flags": [],
    "examples": [
        "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."
    ],
    "see_also": [
        {
            "name": "select-default-ispell",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/select-default-ispell/8/json"
        },
        {
            "name": "select-default-iwrap",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/select-default-iwrap/1/json"
        }
    ]
}