{
    "content": [
        {
            "type": "text",
            "text": "# kpseaccess(1) (man)\n\n**Summary:** kpseaccess - determine whether a file can be accessed\n\n**Synopsis:** kpseaccess mode file\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| — | --version | — | Print version information and exit. |\n\n## See Also\n\n- access(2)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (8 lines)\n- **OPTIONS** (4 lines) — 1 subsections\n  - --version (2 lines)\n- **SEE ALSO** (5 lines)\n\n## Full Content\n\n### NAME\n\nkpseaccess - determine whether a file can be accessed\n\n### SYNOPSIS\n\nkpseaccess mode file\n\n### DESCRIPTION\n\nExit  successfully  if file can be accessed with the specified mode.  The mode is an optional\ndash (`-') followed by zero or more letters of rwx,  where  r  is  for  readable,  w  is  for\nwritable, and x is for executable.\n\nThe  difference  between kpseaccess and test is that the latter looks at the permission bits,\nwhile the former checks using the access(2) system call.  This makes a difference  when  file\nsystems have been mounted read-only.\n\n### OPTIONS\n\nkpseaccess accepts the following options:\n\n--help Print help message and exit.\n\n#### --version\n\nPrint version information and exit.\n\n### SEE ALSO\n\naccess(2)\n\n\n\nKpathsea 6.3.4/dev                          1 March 2011                               KPSEACCESS(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "kpseaccess",
        "section": "1",
        "mode": "man",
        "summary": "kpseaccess - determine whether a file can be accessed",
        "synopsis": "kpseaccess mode file",
        "flags": [
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "Print version information and exit."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "access",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/access/2/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 4,
                "subsections": [
                    {
                        "name": "--version",
                        "lines": 2,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}