New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sprintf() allows '0' flag after vector flag #11999
Comments
From glitchmr@myopera.comCreated by glitchmr@myopera.comsprintf() allows to insert '0' flag after vector flag though documentation printf '%v08b', ':)' It doesn't happen with other flags. printf '%v-8b', ':)' Perl Info
|
From tchrist@perl.com
I use this all the time. % perl -e 'printf "U+%v04X\n", "abc"' --tom |
The RT System itself - Status changed from 'new' to 'open' |
From @demerphqOn 12 March 2012 01:52, Tom Christiansen <tchrist@perl.com> wrote:
I think this bug could be rewritten as "v flag in sprintf format Play around with the format. "%v04X" and "%0v4X" both do the same cheers, -- |
Migrated from rt.perl.org#111678 (status was 'open')
Searchable as RT111678$
The text was updated successfully, but these errors were encountered: