summaryrefslogtreecommitdiffstats
path: root/doc/binary.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2013-09-14 07:07:03 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2013-09-14 07:07:03 (GMT)
commit92eea63a7df5071fddef9b89b9122a5761670908 (patch)
tree5d60e155446a6d8a0a035f1e406a08d979f0f4ac /doc/binary.n
parentfe8ae4eafcd82339318ba2c288431d00bbee06d9 (diff)
downloadtcl-92eea63a7df5071fddef9b89b9122a5761670908.zip
tcl-92eea63a7df5071fddef9b89b9122a5761670908.tar.gz
tcl-92eea63a7df5071fddef9b89b9122a5761670908.tar.bz2
[2152292] Corrected implementation of uuencoding.
Diffstat (limited to 'doc/binary.n')
-rw-r--r--doc/binary.n17
1 files changed, 7 insertions, 10 deletions
diff --git a/doc/binary.n b/doc/binary.n
index a40afe6..95be36e 100644
--- a/doc/binary.n
+++ b/doc/binary.n
@@ -96,25 +96,22 @@ largely superseded by the \fBbase64\fR binary encoding.
.RS
.PP
During encoding, the following options are supported:
-'\" This is wrong! The uuencode format had more complexity than this!
.TP
\fB\-maxlen \fIlength\fR
.
Indicates that the output should be split into lines of no more than
-\fIlength\fR characters. By default, lines are not split.
-.TP
-\fB\-wrapchar \fIcharacter\fR
-.
-Indicates that, when lines are split because of the \fB\-maxlen\fR option,
-\fIcharacter\fR should be used to separate lines. By default, this is a
-newline character,
-.QW \en .
+\fIlength\fR characters. By default, lines are split every 61 characters, and
+this must be in the range 3 to 85 due to limitations in the encoding.
.PP
During decoding, the following options are supported:
.TP
\fB\-strict\fR
.
-Instructs the decoder to throw an error if it encounters whitespace characters. Otherwise it ignores them.
+Instructs the decoder to throw an error if it encounters whitespace
+characters. Otherwise it ignores them.
+.PP
+Note that neither the encoder nor the decoder handle the header and footer of
+the uuencode format.
.RE
.VE 8.6
.SH "BINARY FORMAT"