bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #63334] \[u....] syntax for ASCII characters handled inconsistently


From: Dave
Subject: [bug #63334] \[u....] syntax for ASCII characters handled inconsistently
Date: Sun, 21 Jan 2024 21:05:20 -0500 (EST)

Follow-up Comment #1, bug#63334 (group groff):

[comment #0 original submission:]
> Looking at all the pre-alphabet ASCII symbols:
> 
> $ printf "\\[u%04x] " $(seq 32 64) | nroff | cat -s

This produces some incorrect syntax: printf's "%04x" conversion produces hex
digits with lowercase letters, but groff needs uppercase.  Changing the "x" to
"X" corrects this.

> Five of them are handled as expected, 15 are converted to
> unrecognized \ characters, and 13 are not recognized at all.  

The news gets better (or worse) when you fix the above syntax error.  Now 8
characters are handled as expected, 23 are converted to unrecognized \
characters, and 2 are not recognized at all.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63334>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]