{
    "content": [
        {
            "type": "text",
            "text": "# uudecode (man)\n\n## NAME\n\nuudecode - decode an encoded file\n\n## SYNOPSIS\n\nuudecode [-flags] [-flag [value]] [--option-name[[=| ]value]] [<file>...]\nIf no file(s) are provided, then standard input is decoded.\n\n## DESCRIPTION\n\nuudecode transforms uuencoded files into their original form.\n\n## TLDR\n\n> Decode files encoded by `uuencode`.\n\n- Decode a file that was encoded with `uuencode` and print the result to `stdout`:\n  `uudecode {{path/to/encoded_file}}`\n- Decode a file that was encoded with `uuencode` and write the result to a file:\n  `uudecode -o {{path/to/decoded_file}} {{path/to/encoded_file}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (1 subsections)\n- **OPTIONS** (6 subsections)\n- **STANDARDS**\n- **FILES**\n- **EXIT STATUS**\n- **AUTHORS**\n- **COPYRIGHT**\n- **BUGS**\n- **NOTES**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "uudecode",
        "section": "",
        "mode": "man",
        "summary": "uudecode - decode an encoded file",
        "synopsis": "uudecode [-flags] [-flag [value]] [--option-name[[=| ]value]] [<file>...]\nIf no file(s) are provided, then standard input is decoded.",
        "tldr_summary": "Decode files encoded by `uuencode`.",
        "tldr_examples": [
            {
                "description": "Decode a file that was encoded with `uuencode` and print the result to `stdout`",
                "command": "uudecode {{path/to/encoded_file}}"
            },
            {
                "description": "Decode a file that was encoded with `uuencode` and write the result to a file",
                "command": "uudecode -o {{path/to/decoded_file}} {{path/to/encoded_file}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-o",
                "long": "--output-file",
                "arg": null,
                "description": "If specified, decoded data are written to this file. When multiple inputs are specified on the command line, this option cannot be specified. All decoded data must be written to the file name encoded in the data."
            },
            {
                "flag": "-c",
                "long": "--ignore-chmod",
                "arg": null,
                "description": "By default, if the output file permissions cannot be changed to the permissions specified in the encoded data, the file will not be written out and execution stops. This option will cause that error to be ignored. The resulting file will have all the data, but the incorrect mode settings. fchmod() errors are also ignored if POSIXLYCORRECT is set in the environment. RE: http://austingroupbugs.net/view.php?id=635 A warning is always emitted when fchmod() fails."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "-!, --more-help Pass the extended usage information through a pager."
            },
            {
                "flag": "-R",
                "long": "--save-opts",
                "arg": null,
                "description": "last configuration file listed in the OPTION PRESETS section, below. The command will exit after updating the config file."
            },
            {
                "flag": "-r",
                "long": "--no-load-opts",
                "arg": null,
                "description": "form will disable the loading of earlier config/rc/ini files. --no-load-opts is handled early, out of order."
            },
            {
                "flag": "-v",
                "long": "--version",
                "arg": null,
                "description": "`v', a simple version. The `c' mode will print copyright information and `n' will print the full copyright notice. OPTION PRESETS Any option that is not marked as not presettable may be preset by loading values from configuration (\"RC\" or \".INI\") file(s). The file \"$HOME/.sharrc\" will be used, if present."
            }
        ],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": [
                    {
                        "name": "-o",
                        "lines": 10,
                        "flag": "-o"
                    }
                ]
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-o _ --output-file",
                        "lines": 4,
                        "flag": "-o",
                        "long": "--output-file"
                    },
                    {
                        "name": "-c --ignore-chmod",
                        "lines": 10,
                        "flag": "-c",
                        "long": "--ignore-chmod"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-R  --save-opts",
                        "lines": 3,
                        "flag": "-R",
                        "long": "--save-opts"
                    },
                    {
                        "name": "-r _ --load-opts --no-load-opts",
                        "lines": 3,
                        "flag": "-r",
                        "long": "--no-load-opts"
                    },
                    {
                        "name": "-v  --version",
                        "lines": 8,
                        "flag": "-v",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "STANDARDS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "EXIT STATUS",
                "lines": 30,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "BUGS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "uudecode - decode an encoded file\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "uudecode [-flags] [-flag [value]] [--option-name[[=| ]value]] [<file>...]\n\nIf no file(s) are provided, then standard input is decoded.\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "uudecode transforms uuencoded files into their original form.\n\nThe  encoded  file(s)  may be specified on the command line, or one may be read from standard\ninput.  The output file name is specified in the encoded file, but may be overridden with the",
                "subsections": [
                    {
                        "name": "-o",
                        "content": "are not retained.  If the output file is specified to be /dev/stdout or -, the result will be\nwritten  to  standard  output.  If there are multiple input files and the second or subsquent\nfile specifies standard output, the decoded data will be written to the same file as the pre‐\nvious output.  Don't do that.\n\nuudecode ignores any leading and trailing lines.  It looks for a line that starts  with  \"be‐\ngin\" and proceeds until the end-of-encoding marker is found.  The program determines from the\nheader  line  of  the  encoded  file which of the two supported encoding schemes was used and\nwhether or not the output file name has been encoded with base64 encoding.  See uuencode(5).\n",
                        "flag": "-o"
                    }
                ]
            },
            "OPTIONS": {
                "content": "",
                "subsections": [
                    {
                        "name": "-o _ --output-file",
                        "content": "If specified, decoded data are written to this file.  When multiple inputs are specified on\nthe command line, this option cannot be specified.  All decoded data must be written to the\nfile name encoded in the data.\n",
                        "flag": "-o",
                        "long": "--output-file"
                    },
                    {
                        "name": "-c --ignore-chmod",
                        "content": "By default, if the output file permissions cannot be changed to the permissions specified in\nthe encoded data, the file will not be written out and execution stops.  This option will\ncause that error to be ignored.  The resulting file will have all the data, but the incorrect\nmode settings.\n\nfchmod() errors are also ignored if POSIXLYCORRECT is set in the environment.  RE:\nhttp://austingroupbugs.net/view.php?id=635\n\nA warning is always emitted when fchmod() fails.\n",
                        "flag": "-c",
                        "long": "--ignore-chmod"
                    },
                    {
                        "name": "-h --help",
                        "content": "-!, --more-help Pass the extended usage information through a pager.\n",
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-R  --save-opts",
                        "content": "last configuration file listed in the OPTION PRESETS section, below.  The command will exit\nafter updating the config file.\n",
                        "flag": "-R",
                        "long": "--save-opts"
                    },
                    {
                        "name": "-r _ --load-opts --no-load-opts",
                        "content": "form will disable the loading of earlier config/rc/ini files.  --no-load-opts is handled\nearly, out of order.\n",
                        "flag": "-r",
                        "long": "--no-load-opts"
                    },
                    {
                        "name": "-v  --version",
                        "content": "`v', a simple version.  The `c' mode will print copyright information and `n' will print the\nfull copyright notice.\n\nOPTION PRESETS\nAny option that is not marked as not presettable may be preset by loading values  from\nconfiguration  (\"RC\"  or  \".INI\")  file(s).  The file \"$HOME/.sharrc\" will be used, if\npresent.\n",
                        "flag": "-v",
                        "long": "--version"
                    }
                ]
            },
            "STANDARDS": {
                "content": "This implementation is compliant with P1003.2b/D11.\n",
                "subsections": []
            },
            "FILES": {
                "content": "See OPTION PRESETS for configuration files.\n",
                "subsections": []
            },
            "EXIT STATUS": {
                "content": "One of the following exit values will be returned:\n\n0  (EXITSUCCESS) Successful program execution.\n\n1  (EXITOPTIONERROR) The command options were misconfigured.\n\n2  (EXITINVALID) (warning) One or more input files contained no valid data\n\n4  (EXITNOINPUT) (warning) The specified input file was not found\n\n8  (EXITNOOUTPUT) The specified output file could not be created (error); or else one of\nthe output files could not be written or its access mode could not be changed (warnings).\nThe accompanying message(s) will distinguish.\n\n9  (EXITNOMEM) No process memory available\n\n66  (EXNOINPUT) A specified configuration file could not be loaded.\n\n70  (EXSOFTWARE) libopts had an internal operational error.  Please report it to autogen-\nusers@lists.sourceforge.net.  Thank you.\n\nThe exit status codes are (mostly) warning codes.  As such, each code is \"or\"-ed into the fi‐\nnal exit code as the input files are processed.  For example, an exit code of '6' is not\nlisted above.  It is the sum of EXITINVALID and EXITNOINPUT.  It would mean that at least\none input file contained invalid data and also at least one input file could not be found at\nall.\n\nSEE ALSO\nuuencode(1), uuencode(5)\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Free Software Foundation, Inc.\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright (C) 1994-2015 Free Software Foundation, Inc. all rights reserved.  This program  is\nreleased under the terms of the GNU General Public License, version 3 or later.\n",
                "subsections": []
            },
            "BUGS": {
                "content": "Please  put sharutils in the subject line for emailed bug reports.  It helps to spot the mes‐\nsage.\n\nIf more than one name in the encoded files are the same, or if the second or following  input\nfiles  specifies standard output for the output file, then the result is probably not what is\nexpected.  Specifically, standard output will be appended to and named output files  will  be\nreplaced.\n\nPlease send bug reports to: bug-gnu-utils@gnu.org\n",
                "subsections": []
            },
            "NOTES": {
                "content": "This manual page was AutoGen-erated from the uudecode option definitions.\n\nGNU sharutils (4.15.2)                       30 May 2015                                 uudecode(1)",
                "subsections": []
            }
        }
    }
}