Pádraig Brady
10a9652435
numfmt: support zero padding using --format="%010f"
...
* src/numfmt.c (setup_padding_buffer): Simplify the code by not
explicitly dealing with heap exhaustion.
(parse_format_string): Likewise. Handle multiple grouping
modifiers as does the standard printf. Handle the new leading
zero --format modifier.
(double_to_human): Use more defensive coding against overwriting
stack buffers. Honor the leading zeros width.
(usage): Mention the leading zero --format modifier.
(main): Allow --padding in combo with a --format (width),
as the number of leading zeros are useful independent of
the main field width.
* doc/coreutils.texi (numfmt invocation): Likewise.
* tests/misc/numfmt.pl: Add new test cases.
* NEWS: Mention the improvement.
2014-05-02 01:59:31 +01:00
..
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-13 14:07:45 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-02-27 23:56:28 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-05 19:02:20 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-31 10:24:07 -07:00
2014-02-09 20:22:33 +00:00
2014-01-02 22:19:59 +01:00
2014-02-09 21:37:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-18 11:23:37 +01:00
2014-01-02 22:19:59 +01:00
2014-03-05 19:02:20 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-05 18:08:17 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-05-02 01:59:31 +01:00
2014-02-09 11:29:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-29 09:50:58 +01:00
2014-03-26 11:29:53 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-05 19:02:20 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-05 01:56:07 +01:00
2014-04-04 05:32:41 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-02-23 15:35:27 -08:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00