{
    "content": [
        {
            "type": "text",
            "text": "# ZNEW (man)\n\n## NAME\n\nznew -   recompress .Z files to .gz files\n\n## SYNOPSIS\n\nznew [ -ftv9PK] [ name.Z ...  ]\n\n## DESCRIPTION\n\nZnew  recompresses  files from .Z (compress) format to .gz (gzip) format.  If you want to re‐\ncompress a file already in gzip format, rename the file to force a .Z  extension  then  apply\nznew.\n\n## TLDR\n\n> Recompress files from `.Z` to gzip format.\n\n- Recompress a file from `.Z` to gzip format:\n  `znew {{path/to/file1.Z}}`\n- Recompress multiple files and display the achieved size reduction % per file:\n  `znew -v {{path/to/file1.Z path/to/file2.Z ...}}`\n- Recompress a file using the slowest compression method (for optimal compression):\n  `znew -9 {{path/to/file1.Z}}`\n- Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file:\n  `znew -K {{path/to/file1.Z}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **OPTIONS** (6 subsections)\n- **SEE ALSO**\n- **BUGS**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ZNEW",
        "section": "",
        "mode": "man",
        "summary": "znew -   recompress .Z files to .gz files",
        "synopsis": "znew [ -ftv9PK] [ name.Z ...  ]",
        "tldr_summary": "Recompress files from `.Z` to gzip format.",
        "tldr_examples": [
            {
                "description": "Recompress a file from `.Z` to gzip format",
                "command": "znew {{path/to/file1.Z}}"
            },
            {
                "description": "Recompress multiple files and display the achieved size reduction % per file",
                "command": "znew -v {{path/to/file1.Z path/to/file2.Z ...}}"
            },
            {
                "description": "Recompress a file using the slowest compression method (for optimal compression)",
                "command": "znew -9 {{path/to/file1.Z}}"
            },
            {
                "description": "Recompress a file, [K]eeping the `.Z` file if it is smaller than the gzip file",
                "command": "znew -K {{path/to/file1.Z}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-f",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-v",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-9",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-P",
                "long": null,
                "arg": null,
                "description": ""
            },
            {
                "flag": "-t",
                "long": null,
                "arg": null,
                "description": ""
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "gzip",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gzip/1/json"
            },
            {
                "name": "zmore",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zmore/1/json"
            },
            {
                "name": "zdiff",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zdiff/1/json"
            },
            {
                "name": "zgrep",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zgrep/1/json"
            },
            {
                "name": "zforce",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/zforce/1/json"
            },
            {
                "name": "gzexe",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/gzexe/1/json"
            },
            {
                "name": "compress",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/compress/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-f",
                        "lines": 1,
                        "flag": "-f"
                    },
                    {
                        "name": "-t",
                        "lines": 1,
                        "flag": "-t"
                    },
                    {
                        "name": "-v",
                        "lines": 1,
                        "flag": "-v"
                    },
                    {
                        "name": "-9",
                        "lines": 1,
                        "flag": "-9"
                    },
                    {
                        "name": "-P",
                        "lines": 1,
                        "flag": "-P"
                    },
                    {
                        "name": "-K -t",
                        "lines": 1,
                        "flag": "-t"
                    }
                ]
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 7,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "znew -   recompress .Z files to .gz files\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "znew [ -ftv9PK] [ name.Z ...  ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Znew  recompresses  files from .Z (compress) format to .gz (gzip) format.  If you want to re‐\ncompress a file already in gzip format, rename the file to force a .Z  extension  then  apply\nznew.\n",
                "subsections": []
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-f",
                        "content": "",
                        "flag": "-f"
                    },
                    {
                        "name": "-t",
                        "content": "",
                        "flag": "-t"
                    },
                    {
                        "name": "-v",
                        "content": "",
                        "flag": "-v"
                    },
                    {
                        "name": "-9",
                        "content": "",
                        "flag": "-9"
                    },
                    {
                        "name": "-P",
                        "content": "",
                        "flag": "-P"
                    },
                    {
                        "name": "-K -t",
                        "content": "",
                        "flag": "-t"
                    }
                ]
            },
            "SEE ALSO": {
                "content": "gzip(1), zmore(1), zdiff(1), zgrep(1), zforce(1), gzexe(1), compress(1)\n",
                "subsections": []
            },
            "BUGS": {
                "content": "If  the  -P option is used, znew does not maintain the timestamp if touch(1) does not support\nthe -r option, and does not maintain permissions if chmod(1) does not support the --reference\noption.\n\n\n\nZNEW(1)",
                "subsections": []
            }
        }
    }
}