{
    "mode": "man",
    "parameter": "aspell-autobuildhash",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/aspell-autobuildhash/8/json",
    "generated": "2026-06-16T06:20:25Z",
    "synopsis": "aspell-autobuildhash [--force]\nOptions:\n--debug      Show extra info about aspell-autobuildhash internal\nwork. Will also enable aspell affix validation.\n--dry-run    Show what would be done, but do nothing real.\n--force      Rebuild the hash file for all dicts providing a\ncompat file skipping the test.\n--triggered  Tell the script that is run in the triggers stage.",
    "sections": {
        "NAME": {
            "content": "aspell-autobuildhash - Autobuilding aspell hash files for some dicts\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "aspell-autobuildhash [--force]\n\nOptions:\n--debug      Show extra info about aspell-autobuildhash internal\nwork. Will also enable aspell affix validation.\n--dry-run    Show what would be done, but do nothing real.\n--force      Rebuild the hash file for all dicts providing a\ncompat file skipping the test.\n--triggered  Tell the script that is run in the triggers stage.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "aspell-autobuildhash is a script that will manage aspell hash files autobuild, intended to be\ncalled from the dictionaries-common tools.  Depending on the aspell compatibility level and\non the compatibility level used for the hash file if present, will decide whether it must be\nrebuilt or not. This script will only work on aspell packages prepared to use it, it will do\nnothing for other aspell dict packages.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "--debug      Show some extra information about aspell-autobuildhash\ninternal work. Will also enable aspell affix validation.\n--dry-run    Show what would be done, but do nothing real.\n--force      Rebuild the hash file for all dicts providing a compat\nfile regardless of the compatibility levels found.\n--triggered  Tell the script that is run in the triggers stage. When\nrun under dpkg control, do not try to set the\n'aspell-autobuildhash' trigger, but run real\nB<aspell-autobuildhash> code. When not run under dpkg\ncontrol, real code will always be run and '--triggered'\noption has no real effect.\n",
            "subsections": []
        },
        "PACKAGE MAINTAINERS": {
            "content": "To use this system, aspell-autobuildhash expects a $lang.compat file in /var/lib/aspell\n($lang stands for the lang basename with variant if any, e.g. $lang is something like gl-\nminimos or en)) containing aspell compatibility version for last successful build or \"0\" or\nen empty file if hash is to be rebuild, as is for dictionary installation and upgrades.\n\nWhen upgrading aspell, script will check if version in $lang.compat is different from\naspell.compat and rebuild if so, updating $lang.compat with the new value.\n\nWordlists should previously be compressed either with gzip (and their extensions set as\n.mwl.gz or .wl.gz) or preferably first with aspell prezip and then gzipped (with .cwl.gz\nextension).  This applies both for plain wordlists and munched wordlists (in the ispell way)\nif you use affix compression.\n\nIf your package will provide a single hash, install prezipped+gzipped wordlist as\n/usr/share/aspell/$lang.cwl.gz or, if prezip is not used, as /usr/share/aspell/$lang.mwl.gz.\n\nIf your package will provide more than one aspell hash for the same $lang, you will need to\nplace each compressed wordlist as e.g.  /usr/share/aspell/$subdict.cwl.gz, and the common\n$lang.compat as above. Then create a /usr/share/aspell/$lang.contents file with the base\nnames of the subdicts, one in a line. For English that will contain, amongst other possible\nlines\n\nen-common\nen-variant0\nen-variant1\nen-variant2\nenCA-waccents-only\n\nNo need to use this file if a single hash is being created.\n\nDictionaries-common scripts will call internally this script and create a single hash file at\n/var/lib/ispell/$lang.rws, or hash files at /var/lib/ispell/$subdict.rws. You must set a\nsymlink to that files from /usr/lib/aspell/$lang.rws or /usr/lib/aspell/$subdict.rws as\nappropriate.\n\nAspell dictionary packages using this script must make sure that $lang.compat is reset on\nevery new install/upgrade, so hash is rebuilt.  They must also make sure that $lang.compat\nand all of /var/lib/aspell/$lang.rws or /var/lib/aspell/$subdict.rws are removed on package\nremoval.\n\nAs of version 1.10, installdeb-aspell script will understand 'auto-compat' and\n'auto-contents' fields in $dict.info-aspell file to help with this by adding needed debhelper\nsnippets.  Put in that entry the base name(s) of your compat and contents file(s) and\ncarefully check resulting maintainer scripts after build.\n\nNote that you are no longer suggested to ship empty files at any of\n/var/lib/aspell/$lang.compat, /var/lib/aspell/$lang.rws or /var/lib/aspell/$subdict.rws, but\nexplicitly create/update them on install and explicitly remove them on removal.\n\naspell maintainer should also call this script from package postinst.  When comparing\nversions it will get the aspell version from file /usr/share/aspell/aspell.compat.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Agustin Martin <agmartin@debian.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (C) 2004-2013 Agustin Martin <agmartin@debian.org>\n\nThis program is free software; you can redistribute it and/or modify it under the terms of\nthe GNU General Public License as published by the Free Software Foundation; either version 3\nof the License, or (at your option) any later version.\n\n\n\n1.28.14                                      2021-12-02                      ASPELL-AUTOBUILDHASH(8)",
            "subsections": []
        }
    },
    "summary": "aspell-autobuildhash - Autobuilding aspell hash files for some dicts",
    "flags": [],
    "examples": [],
    "see_also": []
}