Re: Issue in man page time.1

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

 



[To += Branden]

Hi Helge, Branden,

On Sun, Nov 17, 2024 at 10:46:24AM GMT, Helge Kreutzmann wrote:
> Without further ado, the following was found:
> 
> Issue:    printf-like → B<printf>(3)-like
> 
> "The format is interpreted in the usual printf-like way.  Ordinary characters "
> "are directly copied, tab, newline, and backslash are escaped using \\[rs]t, "
> "\\[rs]n, and \\[rs]\\[rs], a percent sign is represented by %%, and "
> "otherwise % indicates a conversion.  The program B<time> will always add a "
> "trailing newline itself.  The conversions follow.  All of those used by "
> "B<tcsh>(1)  are supported."

Thanks!  Fixed.  I've applied the following patch.

	commit 43916c0ce2135bb7c479f0fdba7701d08d6e12b6 (HEAD -> contrib)
	Author: Alejandro Colomar <alx@xxxxxxxxxx>
	Date:   Sun Nov 17 12:59:40 2024 +0100

	    time.1: ffix
	    
	    Reported-by: Helge Kreutzmann <debian@xxxxxxxxxxxxx>
	    Cc: "G. Branden Robinson" <branden@xxxxxxxxxx>
	    Signed-off-by: Alejandro Colomar <alx@xxxxxxxxxx>

	diff --git a/man/man1/time.1 b/man/man1/time.1
	index 7729eda86..a4d56aa95 100644
	--- a/man/man1/time.1
	+++ b/man/man1/time.1
	@@ -121,7 +121,9 @@ .SH GNU VERSION
	 .in
	 .\"
	 .SS The format string
	-The format is interpreted in the usual printf-like way.
	+The format is interpreted in the usual
	+.BR printf (3)-like
	+way.
	 Ordinary characters are directly copied, tab, newline,
	 and backslash are escaped using \[rs]t, \[rs]n, and \[rs]\[rs],
	 a percent sign is represented by %%, and otherwise %

Branden, since this may affect your long-awaited patches, please let me
know if you want me to amend the commit with a different approach.

Also, how about sending your MR.sed patches before I break more stuff?
:-)

Have a lovely day!
Alex


-- 
<https://www.alejandro-colomar.es/>

Attachment: signature.asc
Description: PGP 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