* [PATCH] man5/locale.5: Fix typo.
@ 2024-01-14 15:00 G. Branden Robinson
2024-01-14 17:43 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: G. Branden Robinson @ 2024-01-14 15:00 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 2188 bytes --]
...that proved surprisingly tough to troubleshoot.
I got the following output from my working copy.
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32291: error: output above first line discarded
grotty:...:(man5/locale.5):32292: error: output above first line discarded
grotty:...:(man5/locale.5):32294: error: output above first line discarded
grotty:...:(man5/locale.5):32294: error: output above first line discarded
grotty:...:(man5/locale.5):32294: error: output above first line discarded
grotty:...:(man5/locale.5):32294: error: output above first line discarded
grotty:...:(man5/locale.5):32294: error: output above first line discarded
`\r` is a perfectly legal *roff escape sequence, but one generally never
sees it in man pages. In the case, the input line in question was at
the top of the "page" in continuous rendering mode, and so the attempt
at a reverse vertical motion did indeed put the drawing position above
the top of the page.
grepping reveals no other occurrences of '\r' in the man-pages corpus.
Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
---
man5/locale.5 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man5/locale.5 b/man5/locale.5
index f7ecce7dc..fa2491eee 100644
--- a/man5/locale.5
+++ b/man5/locale.5
@@ -506,7 +506,7 @@ .SS LC_COLLATE
.I reorder\-end
marks the end of the redefinition of a collation rule.
.TP
-.I reorde\r-sections\-after
+.I reorder\-sections\-after
followed by a script name to reorder listed scripts after.
.TP
.I reorder\-sections\-end
--
2.30.2
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] man5/locale.5: Fix typo.
2024-01-14 15:00 [PATCH] man5/locale.5: Fix typo G. Branden Robinson
@ 2024-01-14 17:43 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2024-01-14 17:43 UTC (permalink / raw)
To: G. Branden Robinson; +Cc: linux-man
[-- Attachment #1: Type: text/plain, Size: 2699 bytes --]
Hey Branden!
On Sun, Jan 14, 2024 at 09:00:16AM -0600, G. Branden Robinson wrote:
> ...that proved surprisingly tough to troubleshoot.
>
> I got the following output from my working copy.
>
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32291: error: output above first line discarded
> grotty:...:(man5/locale.5):32292: error: output above first line discarded
> grotty:...:(man5/locale.5):32294: error: output above first line discarded
> grotty:...:(man5/locale.5):32294: error: output above first line discarded
> grotty:...:(man5/locale.5):32294: error: output above first line discarded
> grotty:...:(man5/locale.5):32294: error: output above first line discarded
> grotty:...:(man5/locale.5):32294: error: output above first line discarded
>
> `\r` is a perfectly legal *roff escape sequence, but one generally never
> sees it in man pages. In the case, the input line in question was at
> the top of the "page" in continuous rendering mode, and so the attempt
> at a reverse vertical motion did indeed put the drawing position above
> the top of the page.
>
> grepping reveals no other occurrences of '\r' in the man-pages corpus.
>
> Signed-off-by: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Patch applied.
<https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=4e5ba6c1c1b07eaf2324e7a3aaf7255b10dca878>
It's nice to read from you again. ;-)
Have a lovely day,
Alex
> ---
> man5/locale.5 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man5/locale.5 b/man5/locale.5
> index f7ecce7dc..fa2491eee 100644
> --- a/man5/locale.5
> +++ b/man5/locale.5
> @@ -506,7 +506,7 @@ .SS LC_COLLATE
> .I reorder\-end
> marks the end of the redefinition of a collation rule.
> .TP
> -.I reorde\r-sections\-after
> +.I reorder\-sections\-after
> followed by a script name to reorder listed scripts after.
> .TP
> .I reorder\-sections\-end
> --
> 2.30.2
--
<https://www.alejandro-colomar.es/>
Looking for a remote C programming job at the moment.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-01-14 17:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-14 15:00 [PATCH] man5/locale.5: Fix typo G. Branden Robinson
2024-01-14 17:43 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox