diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | NEWS | 16 |
2 files changed, 20 insertions, 3 deletions
@@ -1,7 +1,10 @@ 2002-11-06 Jim Meyering <jim@meyering.net> - * 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 <eggert@twinsun.com> @@ -80,8 +83,6 @@ 2002-10-19 Jim Meyering <jim@meyering.net> - * Version 4.5.4. - * src/pinky.c (print_heading): Align TTY and Name headings. Reported by Karl Eichwalder. @@ -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 |