{
    "content": [
        {
            "type": "text",
            "text": "# COLORIT(1) (man)\n\n**Summary:** colorit - a script for markuping the text input\n\n**Synopsis:** colorit [OPTIONS] [files...]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -V | --version | — | Shows version information. |\n| -h | --help | — | Shows help information. |\n| -c | --config | — | Specify configuration file. The default is ~/.coloritrc or /etc/dictd/colorit.conf --pp preprocessor Specify a preproces |\n\n## See Also\n\n- less(1)\n- m4(1)\n- cpp(1)\n- dict(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (8 lines)\n- **OPTIONS** (1 lines) — 3 subsections\n  - -V --version (2 lines)\n  - -h --help (2 lines)\n  - -c --config (5 lines)\n- **FILES** (6 lines)\n- **CONFIG FILE** (9 lines)\n- **BUGS** (2 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\ncolorit - a script for markuping the text input\n\n### SYNOPSIS\n\ncolorit [OPTIONS] [files...]\n\n### DESCRIPTION\n\ncolorit 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\n### OPTIONS\n\n#### -V --version\n\nShows version information.\n\n#### -h --help\n\nShows help information.\n\n#### -c --config\n\nSpecify configuration file.  The default is ~/.coloritrc or /etc/dictd/colorit.conf\n\n--pp preprocessor\nSpecify a preprocessor (- for none).\n\n### FILES\n\n~/.coloritrc\nUser's colorit configuration file\n\n/etc/dictd/colorit.conf\nSystem colorit configuration file\n\n### CONFIG FILE\n\nEmpty  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\n### BUGS\n\nThe only supported escape sequence in the strings surrounded by double quotes is \\033.\n\n### SEE ALSO\n\nless(1), m4(1), cpp(1), dict(1)\n\n\n\n28 Oct 2003                                  COLORIT(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "COLORIT",
        "section": "1",
        "mode": "man",
        "summary": "colorit - a script for markuping the text input",
        "synopsis": "colorit [OPTIONS] [files...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "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"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-c --config",
                        "lines": 5,
                        "flag": "-c",
                        "long": "--config"
                    }
                ]
            },
            {
                "name": "FILES",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "CONFIG FILE",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}