[tex-live] Warning with tlmgr

Paulo Roberto Massa Cereda cereda.paulo at gmail.com
Fri Dec 4 17:47:41 CET 2015


Hello friends,

Now that Rolf mentioned it, I get the very same warning with tlmgr 
running in a Fedora 23 machine with Perl 5.22:

---------------------
[paulo at cambridge ~] $ perl -v

This is perl 5, version 22, subversion 0 (v5.22.0) built for 
x86_64-linux-thread-multi
(with 14 registered patches, see perl -V for more detail)
---------------------

Norbert, I get the exact same excerpt you posted from the 5.22 manual (I 
tried perldoc -f sprintf).

All the best!

Paulo

Em 04-12-2015 13:29, Norbert Preining escreveu:
> 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