2015-02-13 11:29:53 +00:00
|
|
|
.Dd February 13, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt UUDECODE 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 23:25:28 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm uudecode
|
|
|
|
.Nd decode a uuencoded file
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.Nm
|
2015-02-13 11:29:53 +00:00
|
|
|
.Op Fl m
|
|
|
|
.Op Fl o Ar output
|
2015-01-30 23:25:28 +00:00
|
|
|
.Op Ar file
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
.Nm
|
2015-02-01 19:52:28 +00:00
|
|
|
reads
|
|
|
|
.Ar file
|
|
|
|
(or by default, the standard input) and writes a decoded
|
2014-02-02 19:08:22 +00:00
|
|
|
version to the file specified in the uuencoded header. In case that
|
|
|
|
the file already exists, it is truncated. Otherwise a new file is
|
|
|
|
created. After the operation the permissions of the created/accessed
|
|
|
|
are changed to reflect the mode in the header.
|
2015-02-13 11:29:53 +00:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl m
|
|
|
|
Use Base64 for decoding.
|
|
|
|
.It Fl o Ar output
|
|
|
|
Use the file specified by
|
|
|
|
.Ar output
|
|
|
|
instead of standard output.
|
|
|
|
.El
|
2015-02-13 11:37:17 +00:00
|
|
|
.Sh IMPLEMENTATION NOTES
|
|
|
|
For safety currently uudecode operates only on regular files and
|
|
|
|
stdout. Trying to uudecode to a link, directory, or special file
|
|
|
|
yields an error.
|
2015-02-13 11:29:53 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr uuencode 1
|
|
|
|
.Sh STANDARDS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
utility is compliant with the
|
|
|
|
.St -p1003.1-2008
|
|
|
|
specification.
|
2015-02-13 11:32:54 +00:00
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Op Fl m
|
|
|
|
flag is an extension to that specification.
|