1uudecode(1)                      User Commands                     uudecode(1)
2
3
4

NAME

6       uudecode - decode an encoded file
7

SYNOPSIS

9       uudecode [-flag [value]]... [--opt-name[[=| ]value]]... [ file ... ]
10
11       If no file(s) are provided, then standard input is decoded.
12

DESCRIPTION

14       Uudecode  transforms  uuencoded  files  into  their original form.  The
15       encoded file(s) may be specified on the command line,  or  one  may  be
16       read  from  standard  input.   The output file name is specified in the
17       encoded file, but may be overridden with the -o option.  It  will  have
18       the  mode of the original file, except that setuid and execute bits are
19       not retained.  If the output file is specified to be /dev/stdout or  -,
20       the  result  will  be written to standard output. If there are multiple
21       input files and the second or subsquent file specifies standard output,
22       the  decoded data will be written to the same file as the previous out‐
23       put.  Don't do that.  uudecode ignores any leading and trailing  lines.
24       It  looks  for  a  line that starts with "begin" and proceeds until the
25       end-of-encoding marker is  found.   The  program  determines  from  the
26       header  line  of  the  encoded file which of the two supported encoding
27       schemes was used.
28

OPTIONS

30       -o file, --output-file=file
31              direct output to file.
32
33              If specifed, decoded data are written to this file.  When multi‐
34              ple inputs are specified on the command line, this option cannot
35              be specified.  All decoded data must be written to the file name
36              encoded in the data.
37
38       -c, --ignore-chmod
39              Ignore fchmod(3P) errors.
40
41              By  default, if the output file permissions cannot be changed to
42              the permissions specified in the encoded data, the file will not
43              be written out and execution stops.  This option will cause that
44              error to be ignored.  The resulting file will have all the data,
45              but the incorrect mode settings.
46
47              fchmod()  errors  are  also ignored if POSIXLY_CORRECT is set in
48              the environment.  RE: http://austingroupbugs.net/view.php?id=635
49
50              A warning is always emitted when fchmod() fails.
51
52       -h, --help
53              Display usage information and exit.
54
55       -!, --more-help
56              Pass the extended usage information through a pager.
57
58       -R [rcfile], --save-opts[=rcfile]
59              Save the option state to rcfile.  The default is the  last  con‐
60              figuration file listed in the OPTION PRESETS section, below.
61
62       -r rcfile, --load-opts=rcfile, --no-load-opts
63              Load  options  from  rcfile.  The no-load-opts form will disable
64              the loading of earlier RC/INI files.  --no-load-opts is  handled
65              early, out of order.
66
67       -v [{v|c|n}], --version[={v|c|n}]
68              Output  version of program and exit.  The default mode is `v', a
69              simple version.  The `c' mode will print  copyright  information
70              and `n' will print the full copyright notice.
71
72

OPTION PRESETS

74       Any option that is not marked as not presettable may be preset by load‐
75       ing values from configuration  ("RC"  or  ".INI")  file(s).   The  file
76       "$HOME/.sharrc" will be used, if present.
77

STANDARDS

79       This implementation is compliant with P1003.2b/D11.
80

FILES

82       See OPTION PRESETS for configuration files.
83

EXIT STATUS

85       One of the following exit values will be returned:
86
87       0 (EXIT_SUCCESS)
88              Successful program execution.
89
90       1 (EXIT_OPTION_ERROR)
91              The command options were misconfigured.
92
93       2 (EXIT_INVALID)
94              (warning) One or more input files contained no valid data
95
96       4 (EXIT_NO_INPUT)
97              (warning) The specified input file was not found
98
99       8 (EXIT_NO_OUTPUT)
100              The  specified output file could not be created (error); or else
101              one of the output files could not be written or its access  mode
102              could  not  be  changed (warnings).  The accompanying message(s)
103              will distinguish.
104
105       66 (EX_NOINPUT)
106              A specified configuration file could not be loaded.
107
108       70 (EX_SOFTWARE)
109              libopts had an internal operational error.  Please report it  to
110              autogen-users@lists.sourceforge.net.  Thank you.
111
112       The  exit  status codes are (mostly) warning codes.  As such, each code
113       is "or"-ed into the final exit code as the input files  are  processed.
114       For example, an exit code of '6' is not listed above.  It is the sum of
115       EXIT_INVALID and EXIT_NO_INPUT.  It would mean that at least one  input
116       file  contained invalid data and also at least one input file could not
117       be found at all.
118

SEE ALSO

120       uuencode(1)
121

AUTHORS

123       Free Software Foundation, Inc.
124
126       Copyright (C) 1994-2013  Free  Software  Foundation,  Inc.  all  rights
127       reserved.   This program is released under the terms of the GNU General
128       Public License, version 3 or later.
129

BUGS

131       Please put sharutils in the subject line for emailed bug  reports.   It
132       helps to spot the message.
133
134       If more than one name in the encoded files are the same, or if the sec‐
135       ond or following input files specifies standard output for  the  output
136       file,  then the result is probably not what is expected.  Specifically,
137       standard output will be appended to and  named  output  files  will  be
138       replaced.
139
140       Please send bug reports to: bug-gnu-utils@gnu.org
141

NOTES

143       This  manual  page  was AutoGen-erated from the uudecode option defini‐
144       tions.
145
146
147
148GNU sharutils (4.13.3)            06 Jan 2013                      uudecode(1)
Impressum