* [PATCH 4/6] time.1: ffix
@ 2023-07-28 18:00 G. Branden Robinson
2023-07-28 21:08 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: G. Branden Robinson @ 2023-07-28 18:00 UTC (permalink / raw)
To: linux-man; +Cc: alx
[-- Attachment #1: Type: text/plain, Size: 1673 bytes --]
Clean up in preparation for "MR sed".
From 225f59d4bd93db69d499cfd546ebef62fc6a63cb Mon Sep 17 00:00:00 2001
From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
Date: Fri, 28 Jul 2023 12:02:49 -0500
Subject: [PATCH 4/6] time.1: ffix
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Mark up ellipses properly. They should be in roman. The item preceding
an ellipsis should be in the singular. Use unbreakable space between
metasyntactic variable and subsequent ellipsis.
Quoting groff_man_style(7):
• Symbols that are neither to be typed literally nor replaced at the
user’s discretion appear in the roman style; brackets surround
optional arguments, and an ellipsis indicates that the previous
syntactical element may be repeated arbitrarily.
[...]
• The dummy character escape sequence \& follows the ellipsis when
further text will follow after space on the output line, keeping
its last period from being interpreted as the end of a sentence
and causing additional inter‐sentence space to be placed after it.
[...]
Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
---
man1/time.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/man1/time.1 b/man1/time.1
index efb818cfd..8902b4b96 100644
--- a/man1/time.1
+++ b/man1/time.1
@@ -9,7 +9,7 @@ .SH NAME
time \- time a simple command or give resource usage
.SH SYNOPSIS
.B time
-.RI [ options ] " command " [ arguments... ]
+.RI [ option \~.\|.\|.\&] " command " [ argument \~.\|.\|.]
.SH DESCRIPTION
The
.B time
--
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 4/6] time.1: ffix
2023-07-28 18:00 [PATCH 4/6] time.1: ffix G. Branden Robinson
@ 2023-07-28 21:08 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2023-07-28 21:08 UTC (permalink / raw)
To: G. Branden Robinson, linux-man
[-- Attachment #1.1: Type: text/plain, Size: 1977 bytes --]
On 2023-07-28 20:00, G. Branden Robinson wrote:
> Clean up in preparation for "MR sed".
>
> From 225f59d4bd93db69d499cfd546ebef62fc6a63cb Mon Sep 17 00:00:00 2001
> From: "G. Branden Robinson" <g.branden.robinson@gmail.com>
> Date: Fri, 28 Jul 2023 12:02:49 -0500
> Subject: [PATCH 4/6] time.1: ffix
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> Mark up ellipses properly. They should be in roman. The item preceding
> an ellipsis should be in the singular. Use unbreakable space between
> metasyntactic variable and subsequent ellipsis.
>
> Quoting groff_man_style(7):
>
> • Symbols that are neither to be typed literally nor replaced at the
> user’s discretion appear in the roman style; brackets surround
> optional arguments, and an ellipsis indicates that the previous
> syntactical element may be repeated arbitrarily.
> [...]
> • The dummy character escape sequence \& follows the ellipsis when
> further text will follow after space on the output line, keeping
> its last period from being interpreted as the end of a sentence
> and causing additional inter‐sentence space to be placed after it.
> [...]
>
> Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>
> ---
> man1/time.1 | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/man1/time.1 b/man1/time.1
> index efb818cfd..8902b4b96 100644
> --- a/man1/time.1
> +++ b/man1/time.1
> @@ -9,7 +9,7 @@ .SH NAME
> time \- time a simple command or give resource usage
> .SH SYNOPSIS
> .B time
> -.RI [ options ] " command " [ arguments... ]
> +.RI [ option \~.\|.\|.\&] " command " [ argument \~.\|.\|.]
Please document the reason why \| should be used.
Cheers,
Alex
> .SH DESCRIPTION
> The
> .B time
--
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-28 21:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-28 18:00 [PATCH 4/6] time.1: ffix G. Branden Robinson
2023-07-28 21:08 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox