From: Jim Meyering Date: Wed, 6 Nov 2002 09:21:59 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v4.5.4~316 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc34d6284cbcb0325ddba79c569b4a09fb16a6e7;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index c201c15c7e..aa095528c2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,10 @@ 2002-11-06 Jim Meyering - * src/printf.c (print_esc): Hexadecimal \xhh escapes may have + * Version 4.5.4. + + * src/printf.c (print_esc): A hexadecimal escape sequence has at most two hex. digits, not three. Reported by Padraig Brady. + * tests/misc/printf-hex: New file/test, for the above fix. 2002-10-07 Paul Eggert @@ -80,8 +83,6 @@ 2002-10-19 Jim Meyering - * Version 4.5.4. - * src/pinky.c (print_heading): Align TTY and Name headings. Reported by Karl Eichwalder. diff --git a/NEWS b/NEWS index e8740a4413..1c507fc9fa 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,20 @@ [4.5.4] +* printf: a hexadecimal escape sequence has at most two hex. digits, not three. +* The following features have been added to the --block-size option + and similar environment variables of df, du, and ls. + - A leading "'" generates numbers with thousands separators. + For example: + $ ls -l --block-size="'1" file + -rw-rw-r-- 1 eggert src 47,483,707 Sep 24 23:40 file + - A size suffix without a leading integer generates a suffix in the output. + For example: + $ ls -l --block-size="K" + -rw-rw-r-- 1 eggert src 46371K Sep 24 23:40 file +* ls's --block-size option now affects file sizes in all cases, not + just for --block-size=si and --block-size=si. Fractional sizes + are now always rounded up, for consistency with df and du. +* df now displays the block size using powers of 1000 if the requested + block size seems to be a multiple of a power of 1000. * `yes|nl -s%n' no longer evokes a segfault [4.5.3] * du --dereference-args (-D) no longer fails in certain cases