Follow-up Comment #1, bug #67646 (group groff): [comment #0 original submission:]
> Determine how the "old" _mdoc_ implementation from 4.4BSD-Lite2 behaves.
> That's the one _groff_ used before Werner Lemberg and Ruslan Ermilov rewrote
> it to leverage GNU _troff_ features.
I suppose this result is an argument against _mandoc_'s behavior.
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Sh Name\n.Nm
foo\n.Nd frobnicate a bar\n.Sh Description\n.Em foo .T bar\n' |
~/groff-HEAD/bin/nroff -mdoc | cat -s
foo(1) General Commands Manual
foo(1)
Name
foo —— frobnicate a bar
Description
foo utf8.
groff test suite 2025‐10‐28
foo(1)
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Sh Name\n.Nm
foo\n.Nd frobnicate a bar\n.Sh Description\n.Em foo .T bar\n' |
~/groff-HEAD/bin/nroff -M HISTORY/MDOC/1995-4.4BSD-Lite2/ -mdoc.4.4BSD-Lite2 |
cat -s
Name
foo0 − frobnicate a bar
Description
utf8.
Not the same issue (I think), but the intrusion of that `0` after "foo" may be
a _groff_ 1.23.0 defect.
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Sh Name\n.Nm
foo\n.Nd frobnicate a bar\n.Sh Description\n.Em foo .T bar\n' |
~/groff-1.22.4/bin/nroff -MHISTORY/MDOC/1995-4.4BSD-Lite2/ -mdoc.4.4BSD-Lite2
| cat -s
Name
foo − frobnicate a bar
Description
utf8.
$ printf '.Dd 2025-10-28\n.Dt foo 1\n.Os "groff test suite"\n.Sh Name\n.Nm
foo\n.Nd frobnicate a bar\n.Sh Description\n.Em foo .T bar\n' |
~/groff-1.23.0/bin/nroff -MHISTORY/MDOC/1995-4.4BSD-Lite2/ -mdoc.4.4BSD-Lite2
| cat -s
Name
foo0 − frobnicate a bar
Description
utf8.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67646>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
