Cross-platform Rust rewrite of the GNU coreutils
open sourceMITfree
uutils coreutils is a cross-platform reimplementation of the GNU coreutils (ls, cp, mv, sort, tr, chmod and the rest) in Rust. It aims to be a drop-in replacement, treating any difference from GNU as a bug, and is checked against the GNU test suite with continuous and differential fuzzing. The same utilities run on Linux, macOS, Windows, Android, the BSDs, Solaris, Illumos, Fuchsia, Redox and WebAssembly, so scripts move between platforms. Where nothing depends on exact output it does better than GNU: parse errors at a terminal echo the command and point a caret at the faulty part, while scripts still get GNU's one-line message. Ubuntu is adopting it and Microsoft offers it. It is part of the uutils project, which also rewrites findutils, diffutils, grep, sed, shadow, util-linux and procps.
Problems it solves
- GNU-compatible ls, cp, sort and friends on Windows
- a memory-safe replacement for GNU coreutils
- the same core command-line tools across Linux, macOS and Windows
- an MIT-licensed coreutils instead of GPL
Features
- Rust reimplementation of every GNU coreutils program
- drop-in GNU compatibility, differences treated as bugs
- runs on Linux, macOS, Windows, Android, BSDs and more
- GNU test suite in CI and differential fuzzing
- caret-style error diagnostics at a terminal, GNU messages in scripts
- browser playground via WebAssembly
Limitations
- Some options might be missing or behave differently from GNU1
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what uutils coreutils does.
- GNU Coreutils The basic file, shell and text manipulation utilities of the GNU operating system
