bug-ncurses
[Top][All Lists]
Advanced

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

[PATCH 22/34] man/scr_dump.5: Fix error.


From: G. Branden Robinson
Subject: [PATCH 22/34] man/scr_dump.5: Fix error.
Date: Fri, 6 Oct 2023 00:17:00 -0500

`\0` is a *roff escape sequence.

groff(7):
    \0     Move right by the width of a numeral in the current font.

Result:
       That octal number in bytes is 001, 035.  Because most Unix
       vendors use big‐endian hardware, the magic number is written with
       the high‐order byte first, e.g.,

            01 35

That's wrong.
---
 man/scr_dump.5 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man/scr_dump.5 b/man/scr_dump.5
index fecd30e1..703f40aa 100644
--- a/man/scr_dump.5
+++ b/man/scr_dump.5
@@ -193,7 +193,7 @@ .SS Unix System V
 the magic number is written with the high-order byte first, e.g.,
 .RS 4
 .EX
-\001\035
+\e001\e035
 .EE
 .RE
 .PP
-- 
2.30.2

Attachment: signature.asc
Description: PGP signature


reply via email to

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