From 0e01f18b8699e2e80144fade0247a35080357b59 Mon Sep 17 00:00:00 2001 From: Juli Mallett Date: Tue, 5 Mar 2002 03:27:47 +0000 Subject: Add base64 support to uuencode(1) and uudecode(1), as specified by SUSv3. Add `-o' option to uuencode(1) to pipe the uuencoded output to an arbitrary file, instead of just stdout. Reviewed by: -standards, mike Approved by: mike --- usr.bin/uuencode/uuencode.1 | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'usr.bin/uuencode/uuencode.1') diff --git a/usr.bin/uuencode/uuencode.1 b/usr.bin/uuencode/uuencode.1 index b348143795ed1..0d4cfe4012f63 100644 --- a/usr.bin/uuencode/uuencode.1 +++ b/usr.bin/uuencode/uuencode.1 @@ -41,6 +41,8 @@ .Nd encode/decode a binary file .Sh SYNOPSIS .Nm +.Op Fl m +.Op Fl o Ar output_file .Op Ar file .Ar name .Nm uudecode @@ -63,7 +65,9 @@ data. reads .Ar file (or by default the standard input) and writes an encoded version -to the standard output. +to the standard output, or +.Ar output_file +if one has been specified. The encoding uses only printing .Tn ASCII characters and includes the @@ -86,7 +90,20 @@ and execute bits are not retained. .Nm Uudecode ignores any leading and trailing lines. .Pp -The following options are available for +The following options are available: +.Pp +.Nm uuencode : +.Bl -tag -width ident +.It Fl m +Use the Base64 method of encoding, rather than the traditional +.Nm +algorithm. +.It Fl o Ar output_file +Output to +.Ar output_file +instead of standard output. +.El +.Pp .Nm uudecode : .Bl -tag -width ident .It Fl c -- cgit v1.3