{
    "content": [
        {
            "type": "text",
            "text": "# lzcmp (man)\n\n## NAME\n\nxzcmp, xzdiff, lzcmp, lzdiff - compare compressed files\n\n## SYNOPSIS\n\nxzcmp [cmpoptions] file1 [file2]\nxzdiff [diffoptions] file1 [file2]\nlzcmp [cmpoptions] file1 [file2]\nlzdiff [diffoptions] file1 [file2]\n\n## DESCRIPTION\n\nxzcmp  and  xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1),\nbzip2(1), lzop(1), or zstd(1).  All options  specified  are  passed  directly  to  cmp(1)  or\ndiff(1).  If only one file is specified, then the files compared are file1 (which must have a\nsuffix  of a supported compression format) and file1 from which the compression format suffix\nhas been stripped.  If two files are specified, then they are uncompressed if  necessary  and\nfed  to  cmp(1) or diff(1).  The exit status from cmp(1) or diff(1) is preserved unless a de‐\ncompression error occurs; then exit status is 2.\n\n## TLDR\n\n> This command is an alias of `xzcmp`.\n\n- View documentation for the original command:\n  `tldr xzcmp`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **SEE ALSO**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "lzcmp",
        "section": "",
        "mode": "man",
        "summary": "xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files",
        "synopsis": "xzcmp [cmpoptions] file1 [file2]\nxzdiff [diffoptions] file1 [file2]\nlzcmp [cmpoptions] file1 [file2]\nlzdiff [diffoptions] file1 [file2]",
        "tldr_summary": "This command is an alias of `xzcmp`.",
        "tldr_examples": [
            {
                "description": "View documentation for the original command",
                "command": "tldr xzcmp"
            }
        ],
        "tldr_source": "official",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "cmp",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/cmp/1/json"
            },
            {
                "name": "diff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/diff/1/json"
            },
            {
                "name": "xz",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/xz/1/json"
            },
            {
                "name": "gzip",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gzip/1/json"
            },
            {
                "name": "bzip2",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/bzip2/1/json"
            },
            {
                "name": "lzop",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/lzop/1/json"
            },
            {
                "name": "zstd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zstd/1/json"
            },
            {
                "name": "zdiff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zdiff/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 4,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "xzcmp [cmpoptions] file1 [file2]\nxzdiff [diffoptions] file1 [file2]\nlzcmp [cmpoptions] file1 [file2]\nlzdiff [diffoptions] file1 [file2]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "xzcmp  and  xzdiff invoke cmp(1) or diff(1) on files compressed with xz(1), lzma(1), gzip(1),\nbzip2(1), lzop(1), or zstd(1).  All options  specified  are  passed  directly  to  cmp(1)  or\ndiff(1).  If only one file is specified, then the files compared are file1 (which must have a\nsuffix  of a supported compression format) and file1 from which the compression format suffix\nhas been stripped.  If two files are specified, then they are uncompressed if  necessary  and\nfed  to  cmp(1) or diff(1).  The exit status from cmp(1) or diff(1) is preserved unless a de‐\ncompression error occurs; then exit status is 2.\n\nThe names lzcmp and lzdiff are provided for backward compatibility with LZMA Utils.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "cmp(1), diff(1), xz(1), gzip(1), bzip2(1), lzop(1), zstd(1), zdiff(1)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Messages from the cmp(1) or diff(1) programs refer to temporary filenames  instead  of  those\nspecified.\n\nTukaani                                      2021-06-04                                    XZDIFF(1)",
                "subsections": []
            }
        }
    }
}