Re: [PATCH 3/6] time.1, getxattr.2, setxattr.2, sk98lin.4, string_copying.7: srcfix

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

 



On 2023-07-28 19:59, G. Branden Robinson wrote:
> Clean up in preparation for "MR sed".
> 
> From 9b627f2a052e85170cb6672b027f8fd0cd3812c7 Mon Sep 17 00:00:00 2001
> From: "G. Branden Robinson" <g.branden.robinson@xxxxxxxxx>
> Date: Fri, 28 Jul 2023 11:55:54 -0500
> Subject: [PATCH 3/6] time.1, getxattr.2, setxattr.2, sk98lin.4,
>  string_copying.7: srcfix

Since the page info is not important, I've edited it to be man*/:.

> 
> Drop spurious, nilpotent uses of *roff `\c` escape sequence.
> 
> Quoting groff_man_style(7):
> 
>     \c  End a text line without inserting space or attempting a break.
>         Normally, if filling is enabled, the end of a text line is
>         treated like a space; an output line _may_ be broken there (if
>         not, an adjustable space is inserted); if filling is disabled,
>         the line _will_ be broken there, as in .EX/.EE examples.  The
>         next line is interpreted as usual and can include a macro call
>         (contrast with \newline).  \c is useful when three font styles
>         are needed in a single word, as in a command synopsis.
> 
> Signed-off-by: G. Branden Robinson <g.branden.robinson@xxxxxxxxx>

Patch applied.  Thanks!

> ---
>  man1/time.1           | 2 +-
>  man2/getxattr.2       | 3 +--
>  man2/setxattr.2       | 3 +--
>  man4/sk98lin.4        | 6 ++----
>  man7/string_copying.7 | 4 ++--
>  5 files changed, 7 insertions(+), 11 deletions(-)
> 

[...]

> --- a/man4/sk98lin.4
> +++ b/man4/sk98lin.4
> @@ -152,14 +152,12 @@ .SH DESCRIPTION
>  Those features are available only after installation of open source modules
>  which can be found on the Internet:
>  .PP
> -.IR VLAN \c
> -:

I wonder what kind of history led to that.  :)

Actually, the git-blame(1) shows a curious thing.

> +.IR VLAN :
>  .UR http://www.candelatech.com\:/\[ti]greear\:/vlan.html
>  .UE
>  .br
>  .I Link
> -.IR Aggregation \c
> -:
> +.IR Aggregation :
>  .UR http://www.st.rim.or.jp\:/\[ti]yumo
>  .UE
>  .PP
> diff --git a/man7/string_copying.7 b/man7/string_copying.7
> index da1fc6752..ab9199a68 100644
> --- a/man7/string_copying.7
> +++ b/man7/string_copying.7
> @@ -317,12 +317,12 @@ .SS String vs character sequence
>  .PD 0
>  .BR stpcpy (3)
>  .IP \[bu]
> -.BR strcpy "(3), \c"

Ugh, blame me!

Cheers,
Alex

> +.BR strcpy (3),
>  .BR strcat (3)
>  .IP \[bu]
>  .BR stpecpy (3)
>  .IP \[bu]
> -.BR strlcpy "(3bsd), \c"
> +.BR strlcpy (3bsd),
>  .BR strlcat (3bsd)
>  .PD
>  .PP

-- 
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux