{
    "content": [
        {
            "type": "text",
            "text": "# zdiff(1) (man)\n\n**Summary:** zcmp, zdiff - compare compressed files\n\n**Synopsis:** zcmp [ cmpoptions ] file1 [ file2 ]\nzdiff [ diffoptions ] file1 [ file2 ]\n\n## See Also\n\n- cmp(1)\n- diff(1)\n- zmore(1)\n- zgrep(1)\n- znew(1)\n- zforce(1)\n- gzip(1)\n- gzexe(1)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (3 lines)\n- **DESCRIPTION** (6 lines)\n- **SEE ALSO** (2 lines)\n- **BUGS** (6 lines)\n\n## Full Content\n\n### NAME\n\nzcmp, zdiff - compare compressed files\n\n### SYNOPSIS\n\nzcmp [ cmpoptions ] file1 [ file2 ]\nzdiff [ diffoptions ] file1 [ file2 ]\n\n### DESCRIPTION\n\nZcmp  and  zdiff are used to invoke the cmp or the diff program on files compressed via gzip.\nAll options specified are passed directly to cmp or diff.  If only file1 is specified, it  is\ncompared  to  the  uncompressed contents of file1.gz.  If two files are specified, their con‐\ntents (uncompressed if necessary) are fed to cmp or diff.  The input files are not  modified.\nThe exit status from cmp or diff is preserved.\n\n### SEE ALSO\n\ncmp(1), diff(1), zmore(1), zgrep(1), znew(1), zforce(1), gzip(1), gzexe(1)\n\n### BUGS\n\nMessages  from the cmp or diff programs may refer to file names such as \"-\" instead of to the\nfile names specified.\n\n\n\nZDIFF(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "zdiff",
        "section": "1",
        "mode": "man",
        "summary": "zcmp, zdiff - compare compressed files",
        "synopsis": "zcmp [ cmpoptions ] file1 [ file2 ]\nzdiff [ 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": "zmore",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zmore/1/json"
            },
            {
                "name": "zgrep",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zgrep/1/json"
            },
            {
                "name": "znew",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/znew/1/json"
            },
            {
                "name": "zforce",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zforce/1/json"
            },
            {
                "name": "gzip",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gzip/1/json"
            },
            {
                "name": "gzexe",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gzexe/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}