public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH] man5/locale.5: Fix typo.
Date: Sun, 14 Jan 2024 18:43:18 +0100	[thread overview]
Message-ID: <ZaQdNtFuFdv-ac71@debian> (raw)
In-Reply-To: <20240114150016.axiqkaym77gmqjy2@illithid>

[-- 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 --]

      reply	other threads:[~2024-01-14 17:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-14 15:00 [PATCH] man5/locale.5: Fix typo G. Branden Robinson
2024-01-14 17:43 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZaQdNtFuFdv-ac71@debian \
    --to=alx@kernel.org \
    --cc=g.branden.robinson@gmail.com \
    --cc=linux-man@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox