version 1.4, 1998/08/31 02:13:43 |
version 1.5, 1998/10/30 00:24:42 |
|
|
.Op Fl p |
.Op Fl p |
.Op Ar file ... |
.Op Ar file ... |
.Sh DESCRIPTION |
.Sh DESCRIPTION |
.Nm Uuencode |
.Nm uuencode |
and |
and |
.Nm uudecode |
.Nm uudecode |
are used to transmit binary files over transmission mediums |
are used to transmit binary files over transmission mediums |
|
|
.Tn ASCII |
.Tn ASCII |
data. |
data. |
.Pp |
.Pp |
.Nm Uuencode |
.Nm uuencode |
reads |
reads |
.Ar file |
.Ar file |
(or by default the standard input) and writes an encoded version |
(or by default, the standard input) and writes an encoded version |
to the standard output. |
to the standard output. |
The encoding uses only printing |
The encoding uses only printing |
.Tn ASCII |
.Tn ASCII |
|
|
for use by |
for use by |
.Nm uudecode . |
.Nm uudecode . |
.Pp |
.Pp |
.Nm Uudecode |
.Nm uudecode |
transforms |
transforms |
.Em uuencoded |
.Dq uuencoded |
files (or by default, the standard input) into the original form. |
files (or by default, the standard input) into the original form. |
The resulting file is named |
The resulting file is named |
.Ar name |
.Ar name |
and will have the mode of the original file except that setuid |
and will have the mode of the original file except that set-user-ID |
and execute bits are not retained. If the |
and execute bits are not retained. If the |
.Fl p |
.Fl p |
option is specified, the output will instead be written to stdout. |
option is specified, the output will instead be written to stdout. |
.Nm Uudecode |
.Nm uudecode |
ignores any leading and trailing lines. |
ignores any leading and trailing lines. |
.Sh EXAMPLES |
.Sh EXAMPLES |
The following example packages up a source tree, compresses it, |
The following example packages up a source tree, compresses it, |
|
|
.Nm uudecode |
.Nm uudecode |
and |
and |
.Nm uuencode |
.Nm uuencode |
utilities exits 0 on success, and >0 if an error occurs. |
utilities exit 0 on success or >0 if an error occurred. |
.Sh SEE ALSO |
.Sh SEE ALSO |
.Xr compress 1 , |
.Xr compress 1 , |
.Xr mail 1 , |
.Xr mail 1 , |