{
    "content": [
        {
            "type": "text",
            "text": "# UCFQ (man)\n\n## NAME\n\nucfq - query the ucf database\n\n## SYNOPSIS\n\nusage: ucfq [options] (/path/to/file|package)[/path/to/file|package  ...]\n\n## DESCRIPTION\n\nThis script takes a set of arguments, each of which is a package name (and thus does not con‐\ntain a /) or a full path to a configuration file, and outputs the associated package, if any,\nif the file exists on disk, and whether it has been modified by the user.  The output is ei‐\nther a human readable tabular form, or a compact colon-separated machine friendly format.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **OPTIONS** (1 subsections)\n- **DESCRIPTION**\n- **CAVEATS**\n- **BUGS**\n- **AUTHOR**\n- **COPYRIGHT AND LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "UCFQ",
        "section": "",
        "mode": "man",
        "summary": "ucfq - query the ucf database",
        "synopsis": "usage: ucfq [options] (/path/to/file|package)[/path/to/file|package  ...]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [
            {
                "flag": "-w",
                "long": "--with-colons",
                "arg": null,
                "description": "Normally, the script presents the information in a human readable tabular format, but that may be harder for a machine to parse. With this option, the output is a compact, colon separated line, with no dividers, headers, or footer. --state-dr dir Set the state directory to \"/path/to/dir\" instead of the default \"/var/lib/ucf\". Used mostly for testing."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "--with-colons -w",
                        "lines": 8,
                        "flag": "-w",
                        "long": "--with-colons"
                    }
                ]
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "CAVEATS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT AND LICENSE",
                "lines": 19,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "ucfq - query the ucf database\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "usage: ucfq [options] (/path/to/file|package)[/path/to/file|package  ...]\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "--help h Print out a usage message.\n--debug -d Turn on debugging mode.\n--verbose -v Make the script more verbose..",
                "subsections": [
                    {
                        "name": "--with-colons -w",
                        "content": "Normally, the script presents the information in a human readable tabular format, but\nthat may be harder for a machine to parse. With this option, the output is a compact,\ncolon separated line, with no dividers, headers, or footer.\n\n--state-dr dir\nSet the state directory to \"/path/to/dir\" instead of the default \"/var/lib/ucf\".  Used\nmostly for testing.\n",
                        "flag": "-w",
                        "long": "--with-colons"
                    }
                ]
            },
            "DESCRIPTION": {
                "content": "This script takes a set of arguments, each of which is a package name (and thus does not con‐\ntain a /) or a full path to a configuration file, and outputs the associated package, if any,\nif the file exists on disk, and whether it has been modified by the user.  The output is ei‐\nther a human readable tabular form, or a compact colon-separated machine friendly format.\n\nThis script can potentially be used in package \"postrm\" scripts during purge to query the\nsystem for configuration files that may still exist on the system, and whether these files\nhave been locally modified by the user -- assuming that the package registered all the con‐\nfiguration files with ucf using \"ucfr\".\n",
                "subsections": []
            },
            "CAVEATS": {
                "content": "This is very inchoate, at the moment, and needs testing.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "None Known so far.\n",
                "subsections": []
            },
            "AUTHOR": {
                "content": "Manoj Srivastava <srivasta\\@debian.org>\n",
                "subsections": []
            },
            "COPYRIGHT AND LICENSE": {
                "content": "This script is a part of the Ucf package, and is\n\nCopyright (c) 2006 Manoj Srivastava <srivasta\\@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 2\nof the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program; if\nnot, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA\n02111-1307  USA\n\n\n\nperl v5.8.8                                  2006-04-16                                      UCFQ(1)",
                "subsections": []
            }
        }
    }
}