From: Jim Meyering Date: Thu, 15 Dec 2005 12:25:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v6.0~1111 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e7efd30f0ca69c0c62e6f1b0fba04ac1dceeb4a;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index dda3b137ee..c48a6deb29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,23 @@ -2005-12-14 Paul Eggert +2005-12-15 Jim Meyering * Version 6.0-cvs. + stat: revert behavior of --format=FMT (-c) + stat: add new option: --printf=FMT + * NEWS: Mention this. + * src/stat.c (isodigit, octtobin, hextobin): Define. + (PRINTF_OPTION): Define. + (interpret_backslash_escapes, trailing_delim): New globals. + (usage): Document them. Alphabetize on long option names. + (print_esc_char): New function. + (print_it): Rewrite, in order to handle backslash escapes. + (main): Handle new option. Set globals for --format, too. + + * tests/misc/stat-printf: Test --printf and --format. + * tests/misc/Makefile.am (TESTS): Add stat-printf. + +2005-12-14 Paul Eggert + * NEWS: sort now reports incompatible options. * src/sort.c (incompatible_options, check_ordering_compatibility): New functions.