URL: <https://savannah.gnu.org/bugs/?67744>
Summary: [troff] some delimited escape sequences accept other
delimited escape sequences as delimiters
Group: GNU roff
Submitter: gbranden
Submitted: Fri 28 Nov 2025 10:10:51 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: In Progress
Privacy: Public
Assigned to: gbranden
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Fri 28 Nov 2025 10:10:51 PM UTC By: G. Branden Robinson <gbranden>
Example of decent behavior:
$ printf 'foo\\l\\h"1m"1m\\h"1m"bar\n' | ~/groff-1.22.3/bin/groff -a
<beginning of page>
<standard input>:1: cannot use a horizontal space as a starting delimiter
foo1m bar
But check this out:
$ printf 'foo\\C\\h"1m"em\\h"1m"bar\n' | ~/groff-1.22.3/bin/groff -a
<beginning of page>
foo<em>bar
Ban this nonsense.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?67744>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
