Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-20
21:06 • Closed ticket [8a8f4957db]: Man page markup errors drop or garble text (expr.n, ... artifact: e81dd723c4 user: jan.nijtmans
18:11 • Ticket [8a8f4957db]: 1 change artifact: 3779737ef7 user: serhiy.storchaka
2026-10-18
12:07 • New ticket [8a8f4957db]. artifact: 8908f7c0e0 user: serhiy.storchaka

Man page markup errors drop or garble text (expr.n, NRE.3, Sleep.3, lsort.n, ...)

Closed / Fixed8a8f4957dbf210fb4909544692669169ed9e2253Created 46 days agoUpdated 43 days ago
Descriptionwiki2026-10-18 12:07:56
Several man pages have markup errors that change the rendered text (found with groff -man -ww):
  • expr.n (9.0, 9.1) and NRE.3 (all): a text line starts with a dot (. For example,, . The name of this command ...), so it is taken as a request and dropped.
  • Notifier.3, Utf.3 (9.0, 9.1), Encoding.3, Sleep.3 (9.1): multi-word .IP tags and .AP types (long long, unsigned short, const Tcl_NotifierProcs) are not quoted, so the following arguments shift: e.g. Sleep.3 shows long long (us) instead of long long us (in).
  • StringObj.3 (9.1): \fIfIobjPtr in the synopsis of Tcl_IsEmpty.
  • lsort.n (all): ("smallest"items first), a missing space after the quoted word in .PQ.
  • fblocked.n (all) does not include man.macros (.BS/.BE, in 8.6 also .CS/.CE, undefined), zlib.n (9.0, 9.1) has two stray .VE.

Proposed fix in branch doc-markup-typos. After it, groff reports no warnings for the Tcl man pages (except the raw bytes in the encoding error example in chan.n, which are intentional).

serhiy.storchaka Ticket [8a8f4957db]: 1 change [History diff]2026-10-20 18:11:29
jan.nijtmanswiki2026-10-20 21:06:59

Merged to [trunk] and core-9-0-branch

Many thanks!

Log in (anonymous is fine) to add a comment.