Re: [PATCH] printf.3: ffix

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

 



Hi Jakub,

On 10/21/22 20:41, Jakub Wilk wrote:
Signed-off-by: Jakub Wilk <jwilk@xxxxxxxxx>
---
  man3/printf.3 | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/man3/printf.3 b/man3/printf.3
index 8f944190b..85b5b4173 100644
--- a/man3/printf.3
+++ b/man3/printf.3
@@ -193,8 +193,8 @@ and
  below) and each conversion specifier asks for the next
  argument (and it is an error if insufficiently many arguments are given).
  One can also specify explicitly which argument is taken,
-at each place where an argument is required, by writing "%m$" instead
-of \(aq%\(aq and "*m$" instead of \(aq*\(aq,
+at each place where an argument is required, by writing "%\fIm\fP$" instead

I've always had doubts about how those things should be formatted. Could you please explain why you'd format it that way?

Thanks,

Alex

+of \(aq%\(aq and "*\fIm\fP$" instead of \(aq*\(aq,
  where the decimal integer \fIm\fP denotes
  the position in the argument list of the desired argument, indexed starting
  from 1.

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

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