URL: <https://savannah.gnu.org/bugs/?68262>
Summary: [troff] warning emitted when closing brace escape
sequence encountered within numeric expression
Group: GNU roff
Submitter: gbranden
Submitted: Tue 21 Apr 2026 10:08:51 PM UTC
Category: Core
Severity: 3 - Normal
Item Group: Warning/Suspicious behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Tue 21 Apr 2026 10:08:51 PM UTC By: G. Branden Robinson <gbranden>
Spawned off of bug #68257.
[comment #2 comment #2:]
> ... in numeric expressions, while a closing brace escape sequence **does**
> effectively terminate the expression, its presence produces a warning since
> _groff_ 1.24.0.
> $ printf '.nr a 1+1\}2\n.tm \\na\n' | ~/groff-1.23.0/bin/nroff -ww
> 2
> $ printf '.nr a 1+1\}2\n.tm \\na\n' | ~/groff-1.24.0/bin/nroff -ww
> troff:<standard input>:1: warning: expected end of line or an auto-increment
> argument in register definition request; got an escaped '}'
> 2
Resolve (silence) that.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68262>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
