{
    "mode": "man",
    "parameter": "COLORIT",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/COLORIT/1/json",
    "generated": "2026-06-03T02:32:25Z",
    "synopsis": "colorit [OPTIONS] [files...]",
    "sections": {
        "NAME": {
            "content": "colorit - a script for markuping the text input\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "colorit [OPTIONS] [files...]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "colorit is a script for markuping text input and sending a result to stdout.  Markuping rules\nare described in a configuration file which is filtered by preprocessor (the default is m4 ).\nThe define HOME equal to your home directory is set for the preprocessor using -D option sup‐\nported by both m4 and cpp.  This script can be used for colorizing the text  by  ANSI  escape\nsequences,  or making a simple text conversions and may be used for colorizing output of dict\nor other programs. In particular, log files, dict, cc, make, or diff  output  can  easily  be\ncolorized and viewed.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-V --version",
                    "content": "Shows version information.\n",
                    "flag": "-V",
                    "long": "--version"
                },
                {
                    "name": "-h --help",
                    "content": "Shows help information.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-c --config",
                    "content": "Specify configuration file.  The default is ~/.coloritrc or /etc/dictd/colorit.conf\n\n--pp preprocessor\nSpecify a preprocessor (- for none).\n",
                    "flag": "-c",
                    "long": "--config"
                }
            ]
        },
        "FILES": {
            "content": "~/.coloritrc\nUser's colorit configuration file\n\n/etc/dictd/colorit.conf\nSystem colorit configuration file\n",
            "subsections": []
        },
        "CONFIG FILE": {
            "content": "Empty  lines  or lines beginning with sharp sign (`#') are ignored. All other lines have this\nstructure: command arg1 arg2 ... argN.  All commands are processed one-by-one for each  input\nline.\nargs strings can be surrounded by double-quote characters.\nCurrently,  only  mark command is available having the following arguments: regexp prestring\npoststring\nThe prestring and poststring are inserted at the beginning and the end of substring matched\nby regular expression regexp\n",
            "subsections": []
        },
        "BUGS": {
            "content": "The only supported escape sequence in the strings surrounded by double quotes is \\033.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "less(1), m4(1), cpp(1), dict(1)\n\n\n\n28 Oct 2003                                  COLORIT(1)",
            "subsections": []
        }
    },
    "summary": "colorit - a script for markuping the text input",
    "flags": [
        {
            "flag": "-V",
            "long": "--version",
            "arg": null,
            "description": "Shows version information."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Shows help information."
        },
        {
            "flag": "-c",
            "long": "--config",
            "arg": null,
            "description": "Specify configuration file. The default is ~/.coloritrc or /etc/dictd/colorit.conf --pp preprocessor Specify a preprocessor (- for none)."
        }
    ],
    "examples": [],
    "see_also": [
        {
            "name": "less",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/less/1/json"
        },
        {
            "name": "m4",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/m4/1/json"
        },
        {
            "name": "cpp",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/cpp/1/json"
        },
        {
            "name": "dict",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/dict/1/json"
        }
    ]
}