diff options
author | Kamil Dudka <kdudka@redhat.com> | 2008-09-03 10:33:06 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-03 15:39:28 +0200 |
commit | ea2887bbe4c04e3ff5bae2d532a1e19d3198dfce (patch) | |
tree | 08049fea23e45258aa28546097b63b1a7f04c3f4 /NEWS | |
parent | ef6a361a079fbf03950cc405a1ce92c3447563ef (diff) | |
download | coreutils-ea2887bbe4c04e3ff5bae2d532a1e19d3198dfce.tar.xz |
df: new option: --total to print grand totals
* src/df.c (add_uint_with_neg_flag): New function to add two integral
values with separate negation flag.
(show_dev): New parameter force_fsu to display numbers directly. Collect
summary statistics on each printed device.
(usage): Mention new option --total in --help.
(main): Initialize summary on program start. Handle new option --total.
* tests/df/total: Dummy test case for new --total option.
* tests/df/total-awk: Better test case for new --total option (requires
awk).
* doc/coreutils.texi: Mention new parameter --total.
* NEWS: Mention the change.
* TODO: Removed completed task.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -21,6 +21,9 @@ GNU coreutils NEWS -*- outline -*- With this new option, after a short read, dd repeatedly calls read, until it fills the incomplete block, reaches EOF, or encounters an error. + df accepts a new option --total, which produces a grand total of all + arguments after all arguments have been processed. + If the GNU MP library is available at configure time, factor and expr support arbitrarily large numbers. Pollard's rho algorithm is used to factor large numbers. |