summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorandy <andrew.m.goth@gmail.com>2016-11-28 16:47:43 (GMT)
committerandy <andrew.m.goth@gmail.com>2016-11-28 16:47:43 (GMT)
commitc017fc04ea0ed93a18e265ffbf2139ae014bdb55 (patch)
tree9dcb51827ac93994f229a24577cba5309394b251 /doc
parent2f9185610ec694098761467969d8a86527891deb (diff)
downloadtcl-c017fc04ea0ed93a18e265ffbf2139ae014bdb55.zip
tcl-c017fc04ea0ed93a18e265ffbf2139ae014bdb55.tar.gz
tcl-c017fc04ea0ed93a18e265ffbf2139ae014bdb55.tar.bz2
Double backslashes in man page
Diffstat (limited to 'doc')
-rw-r--r--doc/ArraySet.36
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ArraySet.3 b/doc/ArraySet.3
index 29206ec..7628401 100644
--- a/doc/ArraySet.3
+++ b/doc/ArraySet.3
@@ -269,7 +269,7 @@ for (i = 0; i < size; i += 2, objPtr += 2) {
Tcl_WriteObj(outChan, objPtr[0]);
Tcl_WriteChars(outChan, " Count: ", -1);
Tcl_WriteObj(outChan, objPtr[1]);
- Tcl_WriteChars(outChan, "\n", -1);
+ Tcl_WriteChars(outChan, "\\n", -1);
}
\fB\(->\fR Color: blue Count: 4
Color: white Count: 9
@@ -289,7 +289,7 @@ for (i = 0; i < size; ++i, ++objPtr) {
Tcl_WriteChars(outChan, " Count: ", -1);
Tcl_WriteObj(outChan, Tcl_ObjGetVar2(
interp, varNameObj, *objPtr, 0));
- Tcl_WriteChars(outChan, "\n", -1);
+ Tcl_WriteChars(outChan, "\\n", -1);
}
\fB\(->\fR Color: blue Count: 4
Color: white Count: 9
@@ -303,7 +303,7 @@ Get array hash table statistics:
Tcl_SetStringObj(obj, NULL, 0);
\fBTcl_ArrayStatistics\fR(interp, varNameObj, obj, 0);
Tcl_WriteObj(outChan, obj);
-Tcl_WriteChars(outChan, "\n", -1);
+Tcl_WriteChars(outChan, "\\n", -1);
\fB\(->\fR 4 entries in table, 4 buckets
number of buckets with 0 entries: 1
number of buckets with 1 entries: 2