--- uuencode.1.exp 2007-02-17 12:15:16.035662000 +0000 +++ uuencode.1.new 2007-02-17 16:31:20.535903808 +0000 @@ -45,8 +45,8 @@ .I Uuencode and .I uudecode -are used to transmit binary files over transmission mediums -that do not support other than simple +are used to transmit binary files over channels +that support only simple ASCII data. .PP @@ -54,22 +54,23 @@ reads .I file (or by default the standard input) and writes an encoded version -to the standard output. -The encoding uses only printing +to the standard output, using only printing ASCII -characters and includes the -mode of the file and the operand +characters. The encoded output begins with a header, for use by +.IR uudecode , +which records the mode of the input file and suggests .I name -for use by -.I uudecode. -If +for the decoded file that will be created. (If .I name is .I /dev/stdout -the result will be written to standard output. By default the standard -UU encoding format will be used. If the option +then +.I uudecode +will decode to standard output.) The encoding has the format +documented at uuencode(5), unless +the option .I \-m -is given on the command line +is given, when .B base64 encoding is used instead. .PP @@ -96,8 +97,8 @@ .I name is /dev/stdout the result will be written to standard output. .I Uudecode -ignores any leading and trailing lines. The program can automatically decide -which of the both supported encoding schemes are used. +ignores any leading and trailing lines. The program tells from the +header which of the two supported encoding schemes was used. .SH EXAMPLES The following example packages up a source tree, compresses it, uuencodes it and mails it to a user on another system.