github uutils/coreutils 0.0.19

latest releases: 0.0.27, 0.0.26, 0.0.25...
13 months ago

🎊 Delighted to unveil the fresh release of Rust coreutils! This iteration offers an array of enhancements and novel functionalities. Key updates include enhancements to the GNU test suite compatibility, and finessed operations in a variety of utilities such as cksum, chmod, chroot, comm, cp, cut, and a multitude of others.
We're making strides towards a production-ready toolset.

GNU test suite compatibility

Many utils have gotten minor changes to improve GNU compatibility. Below is a summary of the progress. See https://github.com/uutils/coreutils-tracking/ for more details

result 0.0.18 0.0.19 change
pass 340 365 +25
skip 50 49 -1
fail 210 186 -24
error 2 2 0

GNU testsuite evolution

Detailed changes

global

b2sum

basenc

chgrp

chown

cksum

cp

date

dd

dircolors

du

factor

fmt

hashsum

  • fix: Correctly detect format when using md5sum with check flag by @kamilogorek in #4645

head

  • head: use OsStringExt::from_vec instead of std::from_utf8_unchecked by @tertsdiepraam in #4923

ls

mkdir

mktemp

more

mv

nice

  • Avoid spurious failures in the presence of non-zero default nice by @sunfishcode in #4783

paste

  • paste: handle list ending with unescaped backslash by @cakebaker in #3661

pwd

  • pwd: Allow -P flag precedence over POSIXLY_CORRECT by @tracym in #4937

rm

shred

tail

  • tail/args: Fix parsing when -F is used together with --retry or --follow by @Joining7943 in #4734
  • 'tail': Change static global variables to const by @Joining7943 in #4777

touch

  • To provide dates like "yesterday, tomorrow, etc", Use the humantime_to_duration crate by @sylvestre in #4778
  • touch: add support for --ref and --date together by @Xalfer in #4717
  • touch: remove unnecessary "extern crate"s by @cakebaker in #4718
  • touch: improve support for dangling link by @sylvestre in #4769

uniq

wc

whoami

yes

uucore

Code quality

  • Fix incorrect comment & remove irrelevant comment by @cakebaker in #4738
  • fix some clippy warnings in tests by @sylvestre in #4759
  • Reduce cognitive complexity: just move some of the contents in functions by @sylvestre in #4743
  • Lower the clippy cognitive complexity & fix lines_filter_map_ok by @sylvestre in #4834
  • Fix some semicolon_if_nothing_returned by @sylvestre in #4839

CI/CD improvements

Doc improvements

New Contributors

Dependencies

Full Changelog: 0.0.18...0.0.19

Don't miss a new coreutils release

NewReleases is sending notifications on new releases.