coreutils

uutils·uutils.coreutils

Cross-platform Rust rewrite of the GNU coreutils

winget install --id uutils.coreutils --exact --source winget

Latest 0.13.0·November 20, 2026

Release Notes

We are happy to announce the release of Rust Coreutils 0.13.0 - a release focused on GNU compatibility of options and edge cases, and on safer file handling. Most of the work went into the details that break scripts: conflicting or ambiguous options in sort, date format flags, dd conversions, ls time styles, tail --follow on symlinks, and what cp, mv, ln and install do when the destination is a symlink or a directory. Alongside that, several utilities got faster (basenc base58 about 35x, cut +23%, date +22%, join +20%, etc), the WASI port got a lot of integration test coverage, a few more dependencies were dropped in favor of std, and more utilities now handle non-UTF-8 input. We are now at 684 passing, 23 failing, 0 errors on the GNU test suite. Counting only the tests that actually run, we are at 684/707 (96.7%).

GNU Test Suite Compatibility

Result | 0.12.0 | 0.13.0 | Change 0.12.0 to 0.13.0 | % Total 0.12.0 | % Total 0.13.0 | % Change 0.12.0 to 0.13.0 Pass | 653 | 684 | +31 | 94.36% | 95.26% | +0.90% Skip | 18 | 11 | -7 | 2.60% | 1.53% | -1.07% Fail | 21 | 23 | +2 | 3.03% | 3.20% | +0.17% Error | 0 | 0 | 0 | 0% | 0% | 0% Total | 692 | 718 | +26 (new tests)

Note: the suite grew by 26 tests (backport of GNU tests), and 2 of them currently fail.

Highlights:

  • GNU Compatibility
    • sort rejects conflicting -t, --compress-program and --check modes, validates --parallel like GNU, and rejects --debug together with -c/-C; merge batches and temporary files are handled more carefully
    • date matches the GNU case flags on %c, %p, %P, %r and %Z, keeps leading zeros of %N with a width, and uses the locale date format verbatim
    • dd: conv=ibm, conv=block and conv=unblock behave like GNU, and excl/nofollow are checked before seeking in an output FIFO
    • ls accepts unambiguous --time-style prefixes, applies two-line time formats to old and recent files correctly, and sorts command-line arguments by version properly
    • tail follows a symlink to its target, accepts the obsolete -cf form, and clamps --max-unchanged-stats instead of overflowing
    • printf and seq fix %f padding past 1000 zeros; split accepts a leading + in every number and retries short writes; pr, numfmt, stty, stat and od align more options and messages with GNU
  • Safer File Handling
    • cp no longer writes a recursive copy through a symlinked target, and checks relative symlink destinations against the working directory
    • mv and ln refuse to replace a directory with a symlink (or with --backup, -f, -i in ln)
    • chown/chgrp judge --preserve-root on the stat the traversal is pinned to; chmod -R -L reports dangling symlinks
    • install backs up a dangling symlink destination; install, cp and mknod warn when an explicit security context is ignored
    • rm escapes the operand in the --preserve-root error message
    • uucore: fixed EOVERFLOW in safe traversal
  • Robustness
    • Panics fixed on write failures for verbose output in rmdir, chcon, cp and tail, and in printf/seq on zero
    • Non-UTF-8 input is now preserved in date (format strings and --reference), stat error messages and shred diagnostics
    • uucore parses a NaN payload such as nan(1) and quotes a lone brace in the shell quoting styles; c-maybe quoting is supported
  • Performance
    • tr deletes bytes faster, basenc encodes and decodes base58 faster, and od streams its output line by line instead of buffering it
  • Dependency Diet
    • chroot, sync and the permission helpers use std instead of rustix; sort uses rlimit instead of rustix::process; cp and dd use set_len instead of ftruncate; uucore no longer needs unsafe for gettid
  • Cross-platform Reach
    • WASI: integration tests enabled for seq, mv, fmt, readlink, dircolors, cksum, realpath, nproc, shred and join, a macro to document why a test is ignored, date clock support, and nice is no longer part of the default WASI build
    • Windows: ln converts / to \ in symlink targets, and cp handles a recursive copy of a root such as W:/
    • uucore detects ASIMD on big-endian aarch64 and builds stty on little-endian ppc64
  • Upstream: while chasing compatibility we found behavior GNU's own suite did not cover, and contributed 82 commits to GNU coreutils during this cycle, almost all of them new tests for edge cases both implementations share, plus two small fixes (tail, fmt)
  • Contributions: This release landed 931 pull requests from 92 new contributors

What's Changed

b2sum

  • b2sum: report malformed status input by @wondr-wclabs in #12622

base32

  • base32/base64/basenc: accept a -w value starting with - to match GNU by @AlejandroCoronadoN in #14084
  • base32, base64, basenc: drop the "error: " from the invalid-input message by @Socialpranker in #14396
  • base32/base64/basenc: turn wrapping off for a -w size too large to represent by @emirmrkaljevic in #16181

base64

  • base32/base64/basenc: accept a -w value starting with - to match GNU by @AlejandroCoronadoN in #14084
  • base32, base64, basenc: drop the "error: " from the invalid-input message by @Socialpranker in #14396
  • base32/base64/basenc: turn wrapping off for a -w size too large to represent by @emirmrkaljevic in #16181

basename

  • basename: remove two superseded tests by @cakebaker in #14369

basenc

  • base32/base64/basenc: accept a -w value starting with - to match GNU by @AlejandroCoronadoN in #14084
  • basenc: buffer base16 encoded output by @myunbin in #13885
  • base32, base64, basenc: drop the "error: " from the invalid-input message by @Socialpranker in #14396
  • basenc: decode --base58 input in one piece by @vibhuthespeedst in #15852
  • base32/base64/basenc: turn wrapping off for a -w size too large to represent by @emirmrkaljevic in #16181
  • basenc: decode unpadded --base64url input by @qodelicious in #15677
  • basenc: add base58 encode/decode benchmarks by @sylvestre in #16258
  • basenc: speed up base58 encoding and decoding with num-bigint (35X) by @sylvestre in #16270

cat

  • cat: report bad file descriptor when stdin is closed by @ozenyunus35 in #15253
  • cat: distinguish read and write errors by @wtcpython in #14721
  • cat: keep a single blank line after a line split across reads with -s by @fixfon in #15683
  • cat: map wasi eloop to the usual message by @eduardomourar in #16268

chcon

  • chcon: report verbose write failures without panicking by @limadog9 in #15382
  • chcon: rewrite traversal and relabeling by @sylvestre in #16289

chgrp

  • chown, chgrp, chmod: bind the recursive operand to a verified descriptor by @sylvestre in #14483
  • chgrp: use thiserror for the --from error by @Devel08 in #13620
  • chown, chgrp: accept repeated flags like GNU by @excid3 in #15669
  • chown, chgrp: say 'cannot access' unless the operand is a dangling symlink by @emirmrkaljevic in #15868
  • chgrp: reject the :gid format for the group operand by @vatsanbalaji-ossagent in #15284

chmod

  • chown, chgrp, chmod: bind the recursive operand to a verified descriptor by @sylvestre in #14483
  • chmod: preserve metadata errors for overlong paths by @limadog9 in #15499
  • chmod: report every failure met under -R by @NdekoCode in #15166
  • chmod: accept modes like -=r, -+x and -,u+x by @fixfon in #15680
  • chmod: fix EROFS showing as Permission denied by @gabrielhnf in #12200
  • chmod: report umask conflict below the -R operand by @eylulseyit in #15885
  • chmod: keep operand order with --reference by @fixfon in #15676
  • chmod: print 'could not be accessed' with -v for operands that can't be stat'ed by @emirmrkaljevic in #15884
  • chmod: report dangling symlinks below the -R -L operand by @a7604 in #16162
  • chmod, chown: check --preserve-root on the directory actually descended into by @abendrothj in #14972
  • chmod: report the real error for files below the -R operand by @eylulseyit in #15935

chown

  • chown, chgrp, chmod: bind the recursive operand to a verified descriptor by @sylvestre in #14483
  • chown: allow non-utf8 path for --reference by @cakebaker in #14785
  • chown: set group to owner's login group on "OWNER:" by @varranvar in #15204
  • chown, chgrp: accept repeated flags like GNU by @excid3 in #15669
  • chown, chgrp: say 'cannot access' unless the operand is a dangling symlink by @emirmrkaljevic in #15868
  • chmod, chown: check --preserve-root on the directory actually descended into by @abendrothj in #14972

chroot

  • chroot: stop option parsing at NEWROOT like GNU by @sylvestre in #16252
  • chroot: replace rustix with std by @oech3 in #16465

cksum

  • cksum: only report x86 hardware features on x86 targets by @ChihweiLHBird in #14805
  • cksum family: continue with remaining files after a read error by @sap1110 in #14957
  • cksum: default warning algorithm to CRC before first tagged line by @thomas-btst in #15062
  • cksum: report vmull support only when the CPU has PMULL by @ChihweiLHBird in #15145
  • cksum: prefix --debug lines with the utility name by @ChihweiLHBird in #15158

Installer type: zip

x86—ECE3C5F117143904E3864B1F59895CD38951525246D7A5E4F0CB1A40852A7C33
x64—A91C36E1ABC911D47A835877F58BAC9AC5AD00F01A1FB076D1012A2F39B4C8D0
arm64—CE8827A11EFC8D05F0060B49B4C50A9A59CFA57D1A9A3ED0724B5AB0CB62A2F0

Details

Homepage
https://github.com/uutils/coreutils
License
MIT
Publisher
uutils
Support
https://github.com/uutils/coreutils/issues
Copyright
Copyright (c) uutils developers

Tags

busyboxcommand-line-toolcoreutilscross-platformgnu-coreutilsrust

Older versions (17)

0.12.0
x86—057A301A7D2C7ED3D59F0D592F43B6E46EF07AF1C2702B6406C9DC8829FD87AA
x64—45D6760C136EF42CDBA1E2DBB492B0858BE98099D6C7FB3E300A3ADCFBC54CFE
arm64—3EE5621C16CCB290AC3A419613AFC14879F1E81DB7CDB21A0034E32C71EEC565
0.11.0
x86—3AA0D2DC2AED0D487424B16239ECD12624C0C73AECBFBE9F3A9FE040BBB9277F
x64—622E4A764332EDBE8B4F6D9500938E649857A20A9A7F7D4FEA0487D479EB9B9E
arm64—6441A8326C8C210ACFFA23231B5B61C65A0F3BFE4D9EC45009C21CBA6689AB31
0.10.0
x86—300CF7BF25E8EA16EDD0CAAE1CD04430F33451F69764960792491D624C24B52A
x64—0510B85218E416E249C3DAF6EBDC2C177F4AF114A9DC4A3752CEAF35BD2DC567
arm64—F23CD19A54A3E0114ADD0E46E3518C4F526CC0445D2556366F0BF16CEE759CDE
0.9.0
x86—8EA2031E7314E9CF917A000ECC7F9E3AE73BB2CE653218C3FDE0C30BDD61B658
x64—77B4CAD20258B654A75C4CDE7F4F7033EA896A71A700F68072EE44599C1D76D4
arm64—C792E3949A6A3D91F944B765AAB6F0B62CF213E886B347DBB81C66D7E0499D04
0.8.0
x86—2FFE88B9D81FAB6A1625A5F02737C8AB164741447403B92CB84377AC37E1BB39
x64—DB464CF2A6ECBFD42C85F46ED2D749BE574DF4DF47FECA1F08988FD760F324F3
arm64—1DFA62F18B64C70B664936B06FB1BE20F0F6AFA9FF041DD95DDA629E987435A9
0.7.0
x86—1D0ACE9CE2FF51E2BB611F543EC6A4C887FB35B167B725815EDD0068711589F5
x64—DF878E29FC738BC4273E85C9D2C35AB898E31568021E6BAF1C330C7961943C8F
arm64—372323492402F3249876599F1FF99AAD9BD2AECAA217B1CB146608EF58D3ED4B
0.6.0
x86—4B95738775DE79250AF2CE4F1CA2ED88A31B37910B87B2B6F9F317755C9C1240
x64—F223058A51E8A2A4B92D9F1A1B2954F7A02B6D0F42E4A7E0413FCDB93BE2E287
arm64—7183BD5AFF648B76517182E50D94819EFDAEDE637650F5B9AD9117C171C4EEBF
0.5.0
x86—99C60F408F9B2BA243A6AE31E635CBC62A319573A103D56C154AE038479BA7E2
x64—BA0A319A2ACF0AB2C1786FB75A246090D905F49762638E903B4F8FF3195B72BE
arm64—96538E06F0092B23CB0F368426FC2B1132F494CE7195CCC53E0FC8071436F73C
0.4.0
x86—52FDA51612B67DA59B3D3E55988D38B8A7E3468950538AF410AAA2662AFF5DDF
x64—3D22D9371118F3F6B2DBBC98D21CBFEE5D3A752732AF5B1EFB456C6410095CDA
arm64—82B22FE1CA187D9AA136937AA52F2A485E40A98816F6FBECC6655199BF783198
0.3.0
x86—ADB01EA026C46FC1E2D6D998047D980B63ABF49B54F34DE7C5FC94FC7611DFEE
x64—BCB447C03BC8E15AE78A749586EDDF238F4C6D9576C1B4DE6B6077FA3BCE2A4F
arm64—E3DADC0AF59461B2DA53A7D9B70C930009183963CFBF34B0D3B9F5C5451F7F0A
0.2.2
x86—A68867D6E21BB6212C544797C1E268AF8C40D5DD1BC03DFD8DBA6D70868F8F9E
x64—45922F4F43A7B4CC1191D52548201B244343CFB3C27E7761F34CE654E4CFB1B1
arm64—C248AC5C0F0DCA0971DFDA1042C3DB6B9E0D498D0666192922C51F358CCBFF4A
0.2.0
x86—814234E3129A68532BC94249744EC4FBDA50E00FC9B47AE00CCF77D5BF2E4C5B
x64—5B1B8D6E88B3ED8D3AF1CA7B180B3D99674751286E797F9735C367D680CFC634
arm64—ED282FBB5A500574050E2A0C9E668D8EA13A7BE4968625D2BB0E5A5758DCB08C
0.1.0
x86—36EFC2D9295FFF72BAB4F8B87963A4EE8C0D83D008F145A273FAB967AA6D6AAE
x64—4FF3C7E5149ADE20A342487D1C09CC6CC63599AF6DFB28D2558B925780A72D82
arm64—9FAA0EC0F3DF47CAFA0A09FCEAD46DA28E2640B5FE1316AD9CB7E11F19050BD4
0.0.30
x86—8CFE11CD0CD043099AB4598D943F786A0B5727677D5F418F8525481EA3D26F10
x64—3931F570FF2665DB09B30614521712CC1D31426793E189A5DB704D2C40599BA9
arm64—30FE9A3363F86EF43F286E2A403DBB5CEDBBDAF9FEB9946CF74DD14A5656AABB
0.0.28
arm64—457BA14493BC2F843029B2A52CA7EA893DAD0A8A7F7359EF48329DFBE4057D6A
x86—A3ACE2B9111F7C6ADD567A251F772D181EADC95830AAD3BAB566BED48C3723C1
x64—34FAF03E8550B523AC74668AD65FB12730930C636370F828580309A426BA93E2
0.0.27
x86—EE79D64937BEE34265D36DE7EE06A51FE8BC98AF635726A291310FD45F73B297
x64—0C2E07FA1417E75687A05B9D577F67EEEDB5ECD0DC34BF40886E28E1E75BA15D
0.0.23
x86—81A05CD58BBB7301B6F331AF0416173424533C97665671C2951124512A2145A8
x64—6A09488F926F1462E6D80070473580B194534C3DD7E38E15DC6C4733DA46252E