0.0.16
版本发布时间: 2022-10-12 17:47:51
uutils/coreutils最新发布版本:0.0.27(2024-06-24 01:12:21)
Highlights
- The minimum supported Rust version is now 1.59.
- Many utils now return exit code
1
on usage errors instead of2
to match GNU. -
tail
has had another significant refactor with slight improvements. -
chroot
returns better exit codes and supports commands with flags. -
cp
supports the-H
flag and handles more cases correctly. -
test
supports-N
,-ef
,-nt
&-ot
and supports 128 bit integers. -
dd
's argument parsing has been overhauled and is more compatible with GNU. - There have been refactors, fixes and performance improvements in many utils, see below for details.
GNU test suite compatibility
Many utils have seen 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.15 | 0.0.16 | change |
---|---|---|---|
pass | 293 | 322 | +29 |
skip | 73 | 49 | -24 |
fail | 222 | 217 | -5 |
error | 5 | 5 | 0 |
Changes
The PR's listed below are a selection of all the contributions in this release.
General
- Change remaining usage codes of
2
to1
for GNU compat by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3922 - Create new adaptive svg logo by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3892
cat
- Remove deprecated
unix_socket
dependency by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3854
chcon
- Fix GNU
tests/misc/chcon-fail.sh
test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3857
chroot
- Improve support of
--skip-chdir
by @sylvestre in https://github.com/uutils/coreutils/pull/4004 - Set exit codes to
125
,126
or127
for errors fromchroot
itself by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3908 - Set trailing var arg by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3907
- Various improvements to chroot by @sylvestre in https://github.com/uutils/coreutils/pull/3960
cp
- Fix
cp-i
GNU test by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3949 - Add
-H
option by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3971 - Assume
--reflink=always
on no value by @sssemil in https://github.com/uutils/coreutils/pull/3992 - Correct error message on copying dir to itself by @jfinkels in https://github.com/uutils/coreutils/pull/3981
- Allow removing symbolic link loop destination by @jfinkels in https://github.com/uutils/coreutils/pull/3972
- Preserve permissions when copying directory and don't terminate early on inaccessible file by @jfinkels in https://github.com/uutils/coreutils/pull/3973
dd
- Handle stdout redirected to seekable file by @jfinkels in https://github.com/uutils/coreutils/pull/3880
- Parse operands manually via positional args by @tertsdiepraam in https://github.com/uutils/coreutils/pull/3938
df
- Remove trailing spaces in rightmost column by @jfinkels in https://github.com/uutils/coreutils/pull/3882
factor
- Enable
union
feature forsmallvec
by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3928
ls
- Exit code 2 when
IOError
happened for argument by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3921 - Add support for
+FORMAT
in timestyle by @dmatos2012 in https://github.com/uutils/coreutils/pull/3988 - Align
--ignore
behavior with that of GNU ls by @ackerleytng in https://github.com/uutils/coreutils/pull/3803
mktemp
- Respect
TMPDIR
environment variable by @jfinkels in https://github.com/uutils/coreutils/pull/3552 - Match GNU error message on too many args by @jfinkels in https://github.com/uutils/coreutils/pull/3951
- Add message for directory not found by @jfinkels in https://github.com/uutils/coreutils/pull/3940
pr
- Migrate from
chrono
totime
by @niyaznigmatullin in https://github.com/uutils/coreutils/pull/3918 - Use clap to handle help & version by @cakebaker in https://github.com/uutils/coreutils/pull/3904
rm
- Added write-protected check for files by @stefins in https://github.com/uutils/coreutils/pull/3853
- Added descend messages for interactive mode Fixes #3817 by @palaster in https://github.com/uutils/coreutils/pull/3931
split
- Add support for starting suffix numbers by @andrewbaptist in https://github.com/uutils/coreutils/pull/3976
sync
- Various compatibility improvement by @sylvestre in https://github.com/uutils/coreutils/pull/4003
tail
- Fix stdin redirect (#3842) by @jhscheer in https://github.com/uutils/coreutils/pull/3845
- Fix tail panicking when seeking backwards by @kilpkonn in https://github.com/uutils/coreutils/pull/3873
- Refactor tail by @Joining7943 in https://github.com/uutils/coreutils/pull/3905
- Fix random errors for piped input on macos by @Joining7943 in https://github.com/uutils/coreutils/pull/3953
test
- Add a bunch of operations by @sylvestre in https://github.com/uutils/coreutils/pull/4002
New Contributors
@sssemil (https://github.com/uutils/coreutils/pull/3852), @kilpkonn (https://github.com/uutils/coreutils/pull/3873), @stefins (https://github.com/uutils/coreutils/pull/3853), @snapdgn (https://github.com/uutils/coreutils/pull/3923), @sashashura (https://github.com/uutils/coreutils/pull/3980), @dmatos2012 (https://github.com/uutils/coreutils/pull/3988)
Full Changelog: https://github.com/uutils/coreutils/compare/0.0.15...0.0.16
1、 coreutils-0.0.16-aarch64-unknown-linux-gnu.tar.gz 3.15MB
2、 coreutils-0.0.16-arm-unknown-linux-gnueabihf.tar.gz 3.24MB
3、 coreutils-0.0.16-i686-pc-windows-msvc.zip 2.53MB
4、 coreutils-0.0.16-i686-unknown-linux-gnu.tar.gz 4.75MB
5、 coreutils-0.0.16-i686-unknown-linux-musl.tar.gz 3.59MB
6、 coreutils-0.0.16-x86_64-apple-darwin.tar.gz 3.33MB
7、 coreutils-0.0.16-x86_64-pc-windows-gnu.zip 3.73MB
8、 coreutils-0.0.16-x86_64-pc-windows-msvc.zip 2.66MB
9、 coreutils-0.0.16-x86_64-unknown-linux-gnu.tar.gz 4.4MB
10、 coreutils-0.0.16-x86_64-unknown-linux-musl.tar.gz 3.37MB
11、 coreutils-musl_0.0.16_amd64.deb 2.24MB
12、 coreutils-musl_0.0.16_i686.deb 2.41MB
13、 coreutils_0.0.16_amd64.deb 2.9MB
14、 coreutils_0.0.16_arm64.deb 1.93MB
15、 coreutils_0.0.16_armhf.deb 1.94MB
16、 coreutils_0.0.16_i686.deb 3.21MB