{
    "content": [
        {
            "type": "text",
            "text": "# xzdiff(1) (man)\n\n**Summary:** xzcmp, xzdiff, lzcmp, lzdiff - compare compressed files\n\n**Synopsis:** xzcmp [cmpoptions] file1 [file2]\nxzdiff [diffoptions] file1 [file2]\nlzcmp [cmpoptions] file1 [file2]\nlzdiff [diffoptions] file1 [file2]\n\n## See Also\n\n- cmp(1)\n- diff(1)\n- xz(1)\n- gzip(1)\n- bzip2(1)\n- lzop(1)\n- zdiff(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (5 lines)\n- **DESCRIPTION** (9 lines)\n- **SEE ALSO** (2 lines)\n- **BUGS** (6 lines)\n\n## Full Content\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), or lzop(1).  All options specified are passed directly to cmp(1)  or  diff(1).   If\nonly  one file is specified, then the files compared are file1 (which must have a suffix of a\nsupported compression format) and file1 from which the compression  format  suffix  has  been\nstripped.   If  two  files  are specified, then they are uncompressed if necessary and fed to\ncmp(1) or diff(1).  The exit status from cmp(1) or diff(1) is preserved.\n\nThe names lzcmp and lzdiff are provided for backward compatibility with LZMA Utils.\n\n### SEE ALSO\n\ncmp(1), diff(1), xz(1), gzip(1), bzip2(1), lzop(1), zdiff(1)\n\n### BUGS\n\nMessages from the cmp(1) or diff(1) programs refer to temporary filenames  instead  of  those\nspecified.\n\n\n\nTukaani                                      2011-03-19                                    XZDIFF(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "xzdiff",
        "section": "1",
        "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]",
        "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": "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": 9,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}