[tex-live] Warning with tlmgr
Norbert Preining
preining at logic.at
Fri Dec 4 16:29:49 CET 2015
Hi Rolf,
> Redundant argument in sprintf at /usr/local/texlive/2015/bin/x86_64-linux/tlmgr line 3123.
> This is perl 5, version 22, subversion 0 (v5.22.0) built for x86_64-linux-thread-multi
Interesting. THis is propably:
sprintf ('%*2$s', $currnr, $totalnrdigits)
perl 5.20 manual says:
(minimum) width
Arguments are usually formatted to be only as wide as required
to display the given value. You can override the width by
putting a number here, or get the width from the next argument
(with "*") or from a specified argument (e.g., with "*2$"):
printf "<%s>", "a"; # prints "<a>"
printf "<%6s>", "a"; # prints "< a>"
printf "<%*s>", 6, "a"; # prints "< a>"
printf '<%*2$s>', "a", 6; # prints "< a>"
printf "<%2s>", "long"; # prints "<long>" (does not truncate)
(in perldoc sprintf)
SO I am a bit surprised.
Can you please check what perl 5.22 docs say to sprintf and this case?
Thanks
Norbert
------------------------------------------------------------------------
PREINING, Norbert http://www.preining.info
JAIST, Japan TeX Live & Debian Developer
GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------
More information about the tex-live
mailing list