mirror of
https://github.com/uutils/coreutils
synced 2024-12-17 16:43:16 +00:00
4f043ff57f
This change will extract a utility already present in ls to uucore. This utility is used by dir and vdir too, which are adjusted to look it up in uucode. No further changes to ls, dir or dirv intended. The change here largely fiddles with the output of uu_wc to match that of GNU wc. This is the case to the extent to make unit tests pass, however, there are differences remaining. One specific difference I did not tackle is that GNU wc will not align the output columns (compute_number_width() -> 1) in the specific case of the input for --files0-from=- being a named pipe, not real stdin. This difference can be triggered using the following two invocations. - wc --files0-from=- < files0 # use a named pipe, GNU does align - cat files0- | wc --files0-from=- # use real stdin, GNU does not align. |
||
---|---|---|
.. | ||
src | ||
BENCHMARKING.md | ||
Cargo.toml | ||
LICENSE |