Skip to content

Commit

Permalink
doc: tweak NEWS and coreutils.texi
Browse files Browse the repository at this point in the history
* doc/coreutils.texi (stat invocation): Add sentence-ending period.
* NEWS: Correct stat change description: s/floating point //.
* cfg.mk (old_NEWS_hash): Update, to match this NEWS change.
  • Loading branch information
eggert authored and Jim Meyering committed Nov 13, 2010
1 parent ee6f187 commit f70c7b7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ GNU coreutils NEWS -*- outline -*-

stat's %X, %Y, and %Z directives once again print only the integer
part of seconds since the epoch. This reverts a change from
coreutils-8.6, that was deemed unnecessarily disruptive. To obtain
a nanosecond-precision floating point time stamp for %X use %.X;
if you want (say) just 3 fractional digits, use %.3X. Likewise
for %Y and %Z.
coreutils-8.6, that was deemed unnecessarily disruptive.
To obtain a nanosecond-precision time stamp for %X use %.X;
if you want (say) just 3 fractional digits, use %.3X.
Likewise for %Y and %Z.

stat's new %W format directive would print floating point seconds.
However, with the above change to %X, %Y and %Z, we've made %W work
Expand Down
2 changes: 1 addition & 1 deletion cfg.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ bootstrap-tools = autoconf,automake,gnulib,bison
# Now that we have better tests, make this the default.
export VERBOSE = yes

old_NEWS_hash = 24f3cbd2c625a297dc4cfb1b076eeaae
old_NEWS_hash = e2a254a0d4c81397994ea10a15663ac3

# Add an exemption for sc_makefile_at_at_check.
_makefile_at_at_check_exceptions = ' && !/^cu_install_program =/'
Expand Down
2 changes: 1 addition & 1 deletion doc/coreutils.texi
Original file line number Diff line number Diff line change
Expand Up @@ -10721,7 +10721,7 @@ precision preceded by a period to specify the number of digits to
print after the decimal point. For example, @samp{%.3X} outputs the
last access time to millisecond precision. If a period is given but no
precision, @command{stat} uses 9 digits, so @samp{%.X} is equivalent to
@samp{%.9X} When discarding excess precision, time stamps are truncated
@samp{%.9X}. When discarding excess precision, time stamps are truncated
toward minus infinity.

@example
Expand Down

0 comments on commit f70c7b7

Please sign in to comment.