mirror of git://git.suckless.org/sbase
46 lines
995 B
Groff
46 lines
995 B
Groff
.Dd February 13, 2015
|
|
.Dt UUDECODE 1
|
|
.Os sbase
|
|
.Sh NAME
|
|
.Nm uudecode
|
|
.Nd decode a uuencoded file
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl m
|
|
.Op Fl o Ar output
|
|
.Op Ar file
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
reads
|
|
.Ar file
|
|
(or by default, the standard input) and writes a decoded
|
|
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.
|
|
.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
|
|
.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.
|
|
.Sh SEE ALSO
|
|
.Xr uuencode 1
|
|
.Sh STANDARDS
|
|
The
|
|
.Nm
|
|
utility is compliant with the
|
|
.St -p1003.1-2008
|
|
specification.
|
|
.Pp
|
|
The
|
|
.Op Fl m
|
|
flag is an extension to that specification.
|