We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aaf12a commit d1d9b5cCopy full SHA for d1d9b5c
doc/Type/Str.pod6
@@ -540,8 +540,8 @@ is ignored:
540
When the C<#> flag and a precision are given in the C<%o> conversion, the
541
precision is incremented if it's necessary for the leading "0":
542
543
- sprintf '<%#.5o>', 012; # OUTPUT: «<000012>»
544
- sprintf '<%#.5o>', 012345; # OUTPUT: «<012345>»
+ sprintf '<%#.5o>', 0o12; # OUTPUT: «<000012>»
+ sprintf '<%#.5o>', 0o12345; # OUTPUT: «<012345>»
545
sprintf '<%#.0o>', 0; # OUTPUT: «<>» # zero precision results in no output!
546
547
B<vector flag>
0 commit comments