URL: <https://savannah.gnu.org/bugs/?66798>
Summary: [patch] commit f3944d63 introduced regression
Group: GNU roff
Submitter: deri
Submitted: Sat 15 Feb 2025 12:16:16 AM UTC
Category: Macro package man
Severity: 2 - Minor
Item Group: Incorrect behaviour
Status: Need Info
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Sat 15 Feb 2025 12:16:16 AM UTC By: Deri James <deri>
The regression caused groff to terminate prematurely without any
warnings/messages, if the man page contained a useless ".SH" with no following
text. When processing a man page collection, such as our groff_man_pages.pdf,
if one man page has this bare .SH, the whole run is terminated at that point.
The problem is caused by the errant removal of a "\}".
Attached are a micky mouse man page which shows the issue and a patch which
fixes it.
This was discovered helping Alex produce a man page collection of Unix V10 man
pages. It did make me laugh that the "latex" man page is consigned to Section
6 (Games).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Name: SHtest.1 Size: 233B
<https://file.savannah.gnu.org/file/SHtest.1?file_id=56896>
-------------------------------------------------------
Name: SHtest.patch Size: 398B
<https://file.savannah.gnu.org/file/SHtest.patch?file_id=56897>
AGPL NOTICE
These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-9aa36b8aaaab70f75d4f4abb1d9f8d6bd3eed2b1.tar.gz
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66798>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
