[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #66640] [man] stops rendering document on encountering argumentless
From: |
G. Branden Robinson |
Subject: |
[bug #66640] [man] stops rendering document on encountering argumentless `SH` call |
Date: |
Sun, 5 Jan 2025 04:32:40 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66640>
Summary: [man] stops rendering document on encountering
argumentless `SH` call
Group: GNU roff
Submitter: gbranden
Submitted: Sun 05 Jan 2025 09:32:37 AM UTC
Category: Macro package man
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sun 05 Jan 2025 09:32:37 AM UTC By: G. Branden Robinson <gbranden>
This affects Git HEAD, not any released version of _groff_.
$ ~/groff-HEAD/bin/nroff -man <<EOF
.TH foo 1 2025-01-04 "groff test suite"
.SH Name
foo \- frobnicate a bar
.SH
Description
With any luck,
this text is visible.
EOF
foo(1) General Commands Manual
foo(1)
Name
foo - frobnicate a bar
groff test suite 2025‐01‐04
foo(1)
Not only is text missing, but the right-hand footer gets rendered in the wrong
typeface because enough of `SH` was processed to remap the `B` font to `BI`.
The problem is a missing `\}`. Fix pending.
At least I can say I've finally, after ~7-8 years of contributing to _groff_,
seen a man page in the wild that consciously exercises `SH`'s input trap--it's
GNU _dc_(1).
`SS` does not suffer the defect. But I'm adding a regression test for it
anyway.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66640>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [bug #66640] [man] stops rendering document on encountering argumentless `SH` call,
G. Branden Robinson <=