diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2023-05-30 13:57:09 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2023-05-30 13:57:09 (GMT) |
commit | a4f289d5b5a7e9f55955463e03ed4140b324d1c6 (patch) | |
tree | a233a3d694f5d24c351058cec105d5587fb08706 | |
parent | 13f6f72bb70d2f85f1ca638290bab6c606d9ae33 (diff) | |
download | tcl-a4f289d5b5a7e9f55955463e03ed4140b324d1c6.zip tcl-a4f289d5b5a7e9f55955463e03ed4140b324d1c6.tar.gz tcl-a4f289d5b5a7e9f55955463e03ed4140b324d1c6.tar.bz2 |
More typo fixes
-rw-r--r-- | doc/TclZlib.3 | 2 | ||||
-rw-r--r-- | doc/ledit.n | 26 | ||||
-rw-r--r-- | doc/timerate.n | 6 |
3 files changed, 17 insertions, 17 deletions
diff --git a/doc/TclZlib.3 b/doc/TclZlib.3 index 4d06923..c2d7f6d 100644 --- a/doc/TclZlib.3 +++ b/doc/TclZlib.3 @@ -188,7 +188,7 @@ is used to initialize the compression engine rather than leaving it to create it on the fly from the data being compressed. Setting a compression dictionary allows for more efficient compression in the case where the start of the data is highly regular, but it does require both the compressor and the -decompressor to agreee on the value to use. Compression dictionaries are only +decompressor to agree on the value to use. Compression dictionaries are only fully supported for zlib-format data; on compression, they must be set before any data is sent in with \fBTcl_ZlibStreamPut\fR, and on decompression they should be set when \fBTcl_ZlibStreamGet\fR produces an \fBerror\fR with its diff --git a/doc/ledit.n b/doc/ledit.n index 70e0bf3..48bc608 100644 --- a/doc/ledit.n +++ b/doc/ledit.n @@ -24,7 +24,7 @@ Arguments \fIfirst\fR and \fIlast\fR are index values specifying the first and last elements of the range to replace. They are interpreted the same as index values for the command \fBstring index\fR, supporting simple index arithmetic and indices relative to the -end of the list. The index 0 refers to the first element of the +end of the list. The index \fB0\fR refers to the first element of the list, and \fBend\fR refers to the last element of the list. .PP If either \fIfirst\fR or \fIlast\fR is less than zero, it is considered to @@ -49,33 +49,33 @@ between \fIfirst\fR and \fIlast\fR are simply deleted. Prepend to a list. .PP .CS -% set lst {c d e f g} -c d e f g -% ledit lst -1 -1 a b -a b c d e f g +set lst {c d e f g} + \fI\(-> c d e f g\fR +\fBledit\fR lst -1 -1 a b + \fI\(-> a b c d e f g\fR .CE .PP Append to the list. .PP .CS -% ledit lst end+1 end+1 h i -a b c d e f g h i +\fBledit\fR lst end+1 end+1 h i + \fI\(-> a b c d e f g h i\fR .CE .PP Delete third and fourth elements. .PP .CS -% ledit lst 2 3 -a b e f g h i +\fBledit\fR lst 2 3 + \fI\(-> a b e f g h i\fR .CE .PP Replace two elements with three. .PP .CS -% ledit lst 2 3 x y z -a b x y z g h i -% set lst -a b x y z g h i +\fBledit\fR lst 2 3 x y z + \fI\(-> a b x y z g h i\fR +set lst + \fI\(-> a b x y z g h i\fR .CE .PP .SH "SEE ALSO" diff --git a/doc/timerate.n b/doc/timerate.n index c5fdf30..5d49c86 100644 --- a/doc/timerate.n +++ b/doc/timerate.n @@ -35,10 +35,10 @@ if \fItime\fR is not specified. .sp The parameter \fImax-count\fR could additionally impose a further restriction by the maximal number of iterations to evaluate the script. -If \fImax-count\fR is specified, the evalution will stop either this count of +If \fImax-count\fR is specified, the evaluation will stop either this count of iterations is reached or the time is exceeded. .sp -It will then return a canonical tcl-list of the form: +It will then return a canonical Tcl-list of the form: .PP .CS \fB0.095977 \(mcs/# 52095836 # 10419167 #/sec 5000.000 net-ms\fR @@ -85,7 +85,7 @@ used to measure the cost of \fBTcl_EvalObjEx\fR, of the invocation of canonical lists, and of the uncompiled versions of bytecoded commands. .PP As opposed to the \fBtime\fR commmand, which runs the tested script for a fixed -number of iterations, the timerate command runs it for a fixed time. +number of iterations, the \fBtimerate\fR command runs it for a fixed time. Additionally, the compiled variant of the script will be used during the entire measurement, as if the script were part of a compiled procedure, if the \fB\-direct\fR option is not specified. The fixed time period and possibility of compilation allow |