summaryrefslogtreecommitdiffstats
path: root/usr.bin/uuencode
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1998-01-25 19:26:05 +0000
committerwosch <wosch@FreeBSD.org>1998-01-25 19:26:05 +0000
commit813f372ef38c9adba0fd8707a16f5883becc9cc2 (patch)
tree49aaa20aec0e9442cb0d3fb44a6228a575d9c802 /usr.bin/uuencode
parent530ad97724209b8d5726951367f32e41dbad0b00 (diff)
downloadFreeBSD-src-813f372ef38c9adba0fd8707a16f5883becc9cc2.zip
FreeBSD-src-813f372ef38c9adba0fd8707a16f5883becc9cc2.tar.gz
Add two new options:
-i Do not overwrite files. -s Do not strip output pathname to base filename. By default uuencode deletes any prefix ending with the last slash '/' for security purpose.
Diffstat (limited to 'usr.bin/uuencode')
-rw-r--r--usr.bin/uuencode/uuencode.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/uuencode/uuencode.1 b/usr.bin/uuencode/uuencode.1
index fd194aa..784b394 100644
--- a/usr.bin/uuencode/uuencode.1
+++ b/usr.bin/uuencode/uuencode.1
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)uuencode.1 8.1 (Berkeley) 6/6/93
-.\" $Id: uuencode.1,v 1.5 1997/02/22 19:57:36 peter Exp $
+.\" $Id: uuencode.1,v 1.6 1997/08/22 06:52:59 charnier Exp $
.\"
.Dd June 6, 1993
.Dt UUENCODE 1
@@ -44,7 +44,7 @@
.Op Ar file
.Ar name
.Nm uudecode
-.Op Fl cp
+.Op Fl cips
.Op Ar
.Sh DESCRIPTION
.Nm Uuencode
@@ -86,10 +86,17 @@ The following options are available for
Decode more than one uuencode'd file from
.Ar file
if possible.
+.It Fl i
+Do not overwrite files.
.It Fl p
Decode
.Ar file
and write output to standard output.
+.It Fl s
+Do not strip output pathname to base filename. By default
+.Nm uudecode
+deletes any prefix ending with the last slash '/' for security
+purpose.
.Sh EXAMPLES
The following example packages up a source tree, compresses it,
uuencodes it and mails it to a user on another system.
@@ -118,6 +125,7 @@ archive from your mailbox
uudecode -p < $MAIL | zcat | tar xfv -
.Ed
.Sh SEE ALSO
+.Xr basename 1 ,
.Xr compress 1 ,
.Xr mail 1 ,
.Xr uucp 1 ,
OpenPOWER on IntegriCloud