summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-08-23 19:48:49 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-08-23 19:48:49 (GMT)
commit1d1739360c1e1f2f4b336f39fb461a4c4b6d27c3 (patch)
tree736471d65f51912e9d06c46128436ca39de68e1b
parentff16c55025af2dada2c83bf9d8c63830bf3f8d1f (diff)
parent6f8556fcff6380f4d5228b2295d65cd52fdba1a4 (diff)
downloadtcl-1d1739360c1e1f2f4b336f39fb461a4c4b6d27c3.zip
tcl-1d1739360c1e1f2f4b336f39fb461a4c4b6d27c3.tar.gz
tcl-1d1739360c1e1f2f4b336f39fb461a4c4b6d27c3.tar.bz2
Minor fix in "load" documentation. Update release notes for "info loaded" change
-rw-r--r--changes.md5
-rw-r--r--doc/load.n6
2 files changed, 6 insertions, 5 deletions
diff --git a/changes.md b/changes.md
index 2cc55e7..615b101 100644
--- a/changes.md
+++ b/changes.md
@@ -73,9 +73,10 @@ writing Tcl scripts.
- `readFile`, `writeFile`, `foreachLine`
## New command options
- - `regsub ... -command ...`
- - `lsearch ... -stride ...`
- `clock scan ... -validate ...`
+ - `info loaded ... ?prefix?`
+ - `lsearch ... -stride ...`
+ - `regsub ... -command ...`
- `socket ... -nodelay ... -keepalive ...`
- `vwait` controlled by several new options
diff --git a/doc/load.n b/doc/load.n
index e741204..c6d27a8 100644
--- a/doc/load.n
+++ b/doc/load.n
@@ -83,9 +83,9 @@ be specified.
If \fIprefix\fR is omitted or specified as an empty string,
Tcl tries to guess the prefix by taking the last element of
\fIfileName\fR, strip off the first three characters if they
-are \fBlib\fR, then strip off the next three characters if
-they are \fBtcl9\fR, and use any following wordchars but not digits,
-converted to titlecase as the prefix.
+are \fBlib\fR, then strip off the next four characters if
+they are \fBtcl9\fR, and use any following wordchars
+but not digits, converted to titlecase as the prefix.
For example, the command \fBload libxyz4.2.so\fR uses the prefix
\fBXyz\fR and the command \fBload bin/last.so {}\fR uses the
prefix \fBLast\fR.