diff options
author | wosch <wosch@FreeBSD.org> | 1996-10-21 22:02:30 +0000 |
---|---|---|
committer | wosch <wosch@FreeBSD.org> | 1996-10-21 22:02:30 +0000 |
commit | ff1e30c98bbdb6496e3a24cf583b3cdcc9787324 (patch) | |
tree | 8f5d697674f556148e569ede31479b0876e051ae /usr.bin/uuencode | |
parent | d7c6b63ef755212365d02ff2ce3e53b1cfe57b59 (diff) | |
download | FreeBSD-src-ff1e30c98bbdb6496e3a24cf583b3cdcc9787324.zip FreeBSD-src-ff1e30c98bbdb6496e3a24cf583b3cdcc9787324.tar.gz |
New options for uudecode
-p Decode file and write output to standard output.
-c Decode more than one uuencode'd file from file if possible.
Diffstat (limited to 'usr.bin/uuencode')
-rw-r--r-- | usr.bin/uuencode/uuencode.1 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/usr.bin/uuencode/uuencode.1 b/usr.bin/uuencode/uuencode.1 index 338cbf0..3dd1e68 100644 --- a/usr.bin/uuencode/uuencode.1 +++ b/usr.bin/uuencode/uuencode.1 @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93 +.\" $Id$ .\" .Dd June 6, 1993 .Dt UUENCODE 1 @@ -43,6 +44,7 @@ .Op Ar file .Ar name .Nm uudecode +.Op Fl cp .Op Ar file ... .Sh DESCRIPTION .Nm Uuencode @@ -76,6 +78,18 @@ and will have the mode of the original file except that setuid and execute bits are not retained. .Nm Uudecode ignores any leading and trailing lines. +.Pp +The following options are available for +.Nm uudecode : +.Bl -tag -width ident +.It Fl c +Decode more than one uuencode'd file from +.Ar file +if possible. +.It Fl p +Decode +.Ar file +and write output to standard output. .Sh EXAMPLES The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system. @@ -89,6 +103,20 @@ tree. tar cf \- src_tree \&| compress \&| uuencode src_tree.tar.Z \&| mail sys1!sys2!user .Ed + +The following example unpack all uuencode'd +files from your mailbox into your current working directory. +.Pp +.Bd -literal -offset indent -compact +uudecode -c < $MAIL +.Ed + +The following example extract a compress'ed tar +archive from your mailbox +.Pp +.Bd -literal -offset indent -compact +uudecode -p < $MAIL | zcat | tar xfv - +.Ed .Sh SEE ALSO .Xr compress 1 , .Xr mail 1 , |