summaryrefslogtreecommitdiffstats
path: root/doc/binary.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2024-01-25 17:45:17 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2024-01-25 17:45:17 (GMT)
commitd78ebb8e014475bdb1c47d4b695856f79925e755 (patch)
treed6ac371db01bf12d8b1e08214f3eef292617549f /doc/binary.n
parent104d50836d96335baa9b788de5e85dc2359dc323 (diff)
downloadtcl-d78ebb8e014475bdb1c47d4b695856f79925e755.zip
tcl-d78ebb8e014475bdb1c47d4b695856f79925e755.tar.gz
tcl-d78ebb8e014475bdb1c47d4b695856f79925e755.tar.bz2
Another round of small fixes, especially spelling errors...
Diffstat (limited to 'doc/binary.n')
-rw-r--r--doc/binary.n9
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/binary.n b/doc/binary.n
index 8793b2f..911e170 100644
--- a/doc/binary.n
+++ b/doc/binary.n
@@ -59,11 +59,13 @@ information.
.RS
.PP
During encoding, the following options are supported:
+.\" OPTION: -maxlen
.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.
+.\" OPTION: -wrapchar
.TP
\fB\-wrapchar \fIcharacter\fR
.
@@ -73,6 +75,7 @@ newline character,
.QW \en .
.PP
During decoding, the following options are supported:
+.\" OPTION: -strict
.TP
\fB\-strict\fR
.
@@ -91,6 +94,7 @@ When decoding, upper and lower characters are accepted.
.PP
No options are supported during encoding. During decoding, the following
options are supported:
+.\" OPTION: -strict
.TP
\fB\-strict\fR
.
@@ -107,12 +111,14 @@ largely superseded by the \fBbase64\fR binary encoding.
.PP
During encoding, the following options are supported (though changing them may
produce files that other implementations of decoders cannot process):
+.\" OPTION: -maxlen
.TP
\fB\-maxlen \fIlength\fR
.
Indicates the maximum number of characters to produce for each encoded line.
The valid range is 5 to 85. Line lengths outside that range cannot be
accommodated by the encoding format. The default value is 61.
+.\" OPTION: -wrapchar
.TP
\fB\-wrapchar \fIcharacter\fR
.
@@ -124,6 +130,7 @@ they would generate encoded text that could not be decoded. The default value
is a single newline.
.PP
During decoding, the following options are supported:
+.\" OPTION: -strict
.TP
\fB\-strict\fR
.
@@ -1101,7 +1108,7 @@ base64 and prints them:
set f [open $filename rb]
set data [read $f]
close $f
-puts [\fBbinary encode\fR base64 \-maxlen 64 $data]
+puts [\fBbinary encode\fR base64 -maxlen 64 $data]
.CE
.SH "SEE ALSO"
encoding(n), format(n), scan(n), string(n), tcl_platform(n)