diff options
author | Jim Meyering <jim@meyering.net> | 2005-12-15 12:24:54 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-12-15 12:24:54 +0000 |
commit | 5124a296ab6933de387eb132b13ee8b301f01358 (patch) | |
tree | ab35034f5aec580b1004d912927e4a451a5328bb | |
parent | 8768b889133e4f1436cffe91fe50e481c5d8c3d9 (diff) | |
download | coreutils-5124a296ab6933de387eb132b13ee8b301f01358.tar.xz |
stat: revert behavior of --format=FMT (-c)
stat: add new option: --printf=FMT
-rw-r--r-- | NEWS | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -26,6 +26,20 @@ GNU coreutils NEWS -*- outline -*- sort now reports incompatible options (e.g., -i and -n) rather than silently ignoring one of them. + stat's --format=FMT option now works the way it did before 5.3.0: + FMT is automatically newline terminated. The first stable release + containing this change was 5.92. + + stat accepts the new option --printf=FMT, where FMT is *not* + automatically newline terminated. + works, backslash escapes in FMT *are* interpreted. + + stat: backslash escapes are interpreted in a format string specified + via --printf=FMT, but not one specified via --format=FMT. That includes + octal (\ooo, at most three octal digits), hexadecimal (\xhh, one or + two hex digits), and the standard sequences (\a, \b, \f, \n, \r, \t, + \v, \", \\). + ** Scheduled for removal rm's --directory (-d) option is scheduled for removal in 2006. This |