coreutils/src/uu/wc
Ackerley Tng e9131e2b7f wc: compute number widths using total file sizes
Previously, individual file sizes were used to compute the number width, which
would cause misalignment when the total has a greater number of digits, and is
different from the behavior of GNU wc

```
$ ./target/debug/wc -w -l -m -c -L deny.toml GNUmakefile
  95  422 3110 3110   85 deny.toml
 349  865 6996 6996  196 GNUmakefile
 444 1287 10106 10106  196 total
$ wc -w -l -m -c -L deny.toml GNUmakefile
   95   422  3110  3110    85 deny.toml
  349   865  6996  6996   196 GNUmakefile
  444  1287 10106 10106   196 total
```
2022-03-28 18:56:34 +02:00
..
src wc: compute number widths using total file sizes 2022-03-28 18:56:34 +02:00
BENCHMARKING.md wc: Add benchmarking documentation 2021-08-26 01:38:16 +02:00
Cargo.toml build(deps): bump clap from 3.0.10 to 3.1.6 2022-03-17 13:06:29 +00:00
LICENSE Include license text in all published crates 2022-03-05 21:21:46 +01:00