uutils/coreutils
View on GitHub ↗ ★ 24,324 Rust
Cross-platform Rust rewrite of the GNU coreutils
162 mentions on Hacker News by 138 people: 22 stories, 140 comments · first 2013-11-29 · latest 2026-10-04
20082026
-
…given uutils have acknowledged they've copied GNU GPL code. From their latest release notes ( https://github.com/uutils/coreutils/releases/tag/0.12.0 ): "Also, some contributions had carried comments and code over from GNU coreutils,…
comment by hn97833 · 2026-10-04 · in OpenBSD Developers Reject Uutils Coreutils -
…Rust duplication.. but only on systems upgraded from ancient times before this was the norm.) [1]: https://github.com/uutils/coreutils/issues?q=is%3Aissue+%28l...
comment by edelbitter · 2026-09-30 · in Upgrade your desktop: Ubuntu 26.04.1 LTS is now available -
Neat. I touched this code about 8 months later to avoid the per-block elapsed() call: https://github.com/uutils/coreutils/commit/cf7b90bbe7cb87099... Mirrored the way I implemented status=progress in FreeBSD dd, though there the flag was…
comment by Freaky · 2026-09-15 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
…nchpad.net/ubuntu/+source/rust-coreutils/+bu... . The apparently related bug in the origin project is https://github.com/uutils/coreutils/issues/2949 , filed back in 2022 and which sat unmoved for several years until, probably not…
comment by JdeBP · 2026-09-15 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
They eventually fixed the one where it didn't sort properly, but it tooks months: https://github.com/uutils/coreutils/issues/12253 https://github.com/uutils/coreutils/issues/12912
comment by rwmj · 2026-09-15 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
…submitted a PR for this issue about 3 hours before the first comment about it in this thread - https://github.com/uutils/coreutils/pull/14554 (and 2 hours before this link was submitted to HN)
comment by gpm · 2026-09-14 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
Not the same as: https://github.com/uutils/coreutils Although I could see them benefitting.
comment by djoldman · 2026-08-20 · in Canonical backs new project to translate large C codebases into safe Rust -
…Linux kernel will never be fully rewritten in Rust.[4] Let's see how well that statement age. [1]: https://github.com/uutils/coreutils [2]: https://canonical.com/blog/canonical-releases-ubuntu-26-04-l... [3]:…
comment by devy · 2026-07-13 · in Linux 0.11 rewritten in idiomatic Rust, boots in QEMU -
A fair question is why this fork of coreutils is required when the original Rust rewrite ( https://github.com/uutils/coreutils/ ) supports Windows, in addition to Linux, macOS and wasm. The reason seems to be a few windows specific fixes (…
comment by testdelacc1 · 2026-06-02 · in Coreutils for Windows -
Looks like it doesn't really fuzz much. https://github.com/uutils/coreutils/tree/main/fuzz/fuzz_targ... Maybe these tests aren't even fuzz tests? https://github.com/uutils/coreutils/blob/main/fuzz/fuzz_targ... Even the tests that look ok…
comment by ozgrakkurt · 2026-04-30 · in Bugs Rust won't catch -
Why differential fuzzing did not catch these bugs? https://github.com/uutils/coreutils/tree/main/fuzz/uufuzz
comment by dlahoda · 2026-04-29 · in Bugs Rust won't catch -
…utils that are easy to compile anywhere, and this is as good a way as any to try and learn it. https://github.com/uutils/coreutils/blob/9653ed81a2fbf393f42...
comment by kibwen · 2026-04-29 · in Bugs Rust won't catch -
…results of a huge set of correctness tests and performance benchmarks Yeah, you can see those in https://github.com/uutils/coreutils . This project has also worked with GNU coreutils maintainers to add more tests over time. Check out the…
comment by testdelacc1 · 2026-04-29 · in Bugs Rust won't catch -
…started out with far smaller ambitions. It was originally intended to be a way to learn Rust. [0]: https://github.com/uutils/coreutils/commit/7abc6c007af75504f...
comment by aw1621107 · 2026-04-29 · in Bugs Rust won't catch -
…cross-checking uutils I noticed it does have a bunch of unsafe blocks that call into libc, e.g. https://github.com/uutils/coreutils/blob/77302dbc87bcc7caf87... . Thankfully they're pretty minimal, but every such block can reduce the safety…
comment by osmsucks · 2026-04-29 · in Bugs Rust won't catch -
…or not since we're talking about uutils and their stance on it, and they've written that: https://github.com/uutils/coreutils/blob/6b8a5a15b4f077f8609... > we cannot accept any changes based on the GNU source code [..]. It is however…
comment by TheDong · 2026-04-29 · in Bugs Rust won't catch -
…uutils started off back in 2013 as a way to learn Rust [0] way before the present kerfuffle. [0]: https://github.com/uutils/coreutils/tree/9653ed81a2fbf393f42...
comment by aw1621107 · 2026-04-29 · in Bugs Rust won't catch -
Also of interest: https://github.com/uutils/coreutils/issues Is rewritting old softwares into a newer language a bit like adding people to a late project?
comment by rixed · 2026-04-25 · in An Update on Rust-Coreutils -
This rewrite of GNU coreutils to rust comes to mind https://github.com/uutils/coreutils
comment by nightshift1 · 2026-03-12 · in Malus – Clean Room as a Service -
…an implementation in rust, can the second project be legally MIT, or any other? Isn't that what https://github.com/uutils/coreutils is? GNU coreutils spec and test suite, used to produce a rust MIT implementation. (Granted, by humans AFAIK)
comment by yjftsjthsd-h · 2026-03-05 · in Relicensing with AI-Assisted Rewrite -
…shut people up. They don't and wont. > I searched but couldn't find an answer. Here's the answer: https://github.com/uutils/coreutils/issues/2757 . This is a link I found long time ago and saved to reference when need arises. From the…
comment by bayindirh · 2026-02-24 · in What it means that Ubuntu is using Rust -
…are already doing it. For example, the recent sudo-rs rewrite. Or the uutils coreutils package: https://github.com/uutils/coreutils - Which passes almost all conformance tests now by the way. (Though they could certainly use a few more…
comment by josephg · 2025-11-30 · in Ported freetype, fontconfig, harfbuzz, and graphite to Fil-C -
Someone's already made a pull request to resolve the bug: https://github.com/uutils/coreutils/issues/9202
comment by proactivesvcs · 2025-11-09 · in The Rust version of `du` outputs wrong sizes in Ubuntu 25.10 -
…is at 0.2.2), but at least until the green line reaches the blue line in this graph: https://github.com/uutils/coreutils?tab=readme-ov-file#gnu-t... Of course, "exotic" bugs might happen (not sure how exotic the bug that caused this issue…
comment by rob74 · 2025-10-24 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…comment like `--set` has. 0: https://github.com/coreutils/coreutils/commit/14d24f7a530f58... 1: https://github.com/uutils/coreutils/commit/41d1dfaf440eabba3...
comment by evil-olive · 2025-10-23 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…that the more(1) they shipped had no equivalent in GNU coreutils at all? Its from util-linux: https://github.com/uutils/coreutils/issues/8975 Doesn't look like people who do their homework
comment by blueflow · 2025-10-23 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…the command silently accepted -r before and did nothing (!) 0: https://lwn.net/Articles/1043123/ 1: https://github.com/uutils/coreutils/issues/8621 2: https://github.com/uutils/coreutils/pull/8630
comment by cataflam · 2025-10-23 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…a pretty good candidate. Edit: Or not, see evil-olive's comment[1] for a more likely candidate. 0: https://github.com/uutils/coreutils/commit/0047c7e66ffb57971... 1: https://news.ycombinator.com/item?id=45687743
comment by janzer · 2025-10-23 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
…1: https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bu... 2: https://github.com/uutils/coreutils/issues/8621 3: https://github.com/uutils/coreutils/pull/8630
comment by evil-olive · 2025-10-23 · in Date bug in Rust-based coreutils affects Ubuntu 25.10 automatic updates -
Not sure what this offers above or beyond the rust uutils/coreutils... https://github.com/uutils/coreutils
comment by tracker1 · 2025-10-06 · in Toybox: All-in-one Linux command line -
…src/uucore/src/lib/features, findutils, diffutils; MIT, Rust: https://github.com/uutils/coreutils/tree/main/src/uucore/src...
comment by westurner · 2025-10-06 · in Toybox: All-in-one Linux command line -
…has a `base64` in Rust which just gained better performance due to the base64-simd crate for SIMD: https://github.com/uutils/coreutils/pull/8578
comment by westurner · 2025-10-05 · in Show HN: ut – Rust based CLI utilities for devs and IT -
…nuance and care. It is not easy to say what makes good code or even identify it. So... LGTM [0] https://github.com/uutils/coreutils/issues/7092 [1] https://news.ycombinator.com/item?id=45409430 [2] https://stackoverflow.com/questions/184618…
comment by godelski · 2025-09-30 · in The AI coding trap -
…scripts depending on undefined behavior, like "calling install(1) with multiple -m arguments": https://github.com/uutils/coreutils/issues/8033 The other one was an edge-case with dangling symlinks: https://github.com/uutils/coreutils/issues…
comment by kpcyrd · 2025-09-26 · in Ubuntu 25.10's Rust Coreutils Is Causing Major Breakage for Some Executables -
…4. https://lwn.net/Articles/1007907/ 5. https://corrode.dev/blog/foundational-software/ 6. https://github.com/uutils/coreutils
comment by kelseyfrog · 2025-09-23 · in The allure of new languages vs. the necessity of problem-solving -
…tps://ziggit.dev/t/zig-as-a-c-and-c-compiler/10963 * Rust rebuilt the core nix utilities from scratch https://github.com/uutils/coreutils I've heard a bunch of people making their own OS from scratch just to see how it works, heck there…
comment by vogu66 · 2025-09-19 · in A shift in developer culture is impacting innovation and creativity -
A relevant task in uutils https://github.com/uutils/coreutils/issues/4362 describes how io_uring universally helps in almost any disk operation util.
comment by Lockal · 2025-07-19 · in lsr: ls with io_uring -
…log other stuff than y. The uutils rewrite of yes into rust doesn't use unsafe and is much simpler. https://github.com/uutils/coreutils/blob/main/src/uu/yes/src...
comment by charcircuit · 2025-05-27 · in Yes-rs: A fast, memory-safe rewrite of the classic Unix yes command -
…Excluding the test code at the bottom, the Rust version is a bit less than 120 lines. [0] https://github.com/uutils/coreutils/blob/main/src/uu/yes/src...
comment by 3eb7988a1663 · 2025-05-27 · in Yes-rs: A fast, memory-safe rewrite of the classic Unix yes command -
…we'll see a license change from GPL [1] to MIT. "Differences with GNU are treated as bugs." - https://github.com/uutils/coreutils#goals That's promising. Wouldn't it be annoying though, to have to keep things bug-for-bug compatible on a…
comment by turtleyacht · 2025-04-24 · in Ubuntu 25.10 Replaces GNU Coreutils with Rust Uutils -
It is a comment coming from pragmatism, not ignorance. At any rate, feel free to look around here: https://github.com/uutils/coreutils/issues?q=is%3Aissue%20st... It is NOT a replacement of GNU coreutils AT ALL, as of yet. Granted under…
comment by johnisgood · 2025-03-22 · in Oxidizing Ubuntu: adopting Rust utilities by default -
…aims to be a drop-in replacement for the GNU utils. Differences with GNU are treated as bugs. -- https://github.com/uutils/coreutils?tab=readme-ov-file#goals
comment by blueflow · 2025-03-22 · in Oxidizing Ubuntu: adopting Rust utilities by default -
I mentioned this on reddit, but AFAIK, the uutils project doesn't yet support locales: https://github.com/uutils/coreutils/issues/3997 I'm not any more a fan of POSIX locales than the next person[1], but AIUI, that seems a likely…
comment by burntsushi · 2025-03-13 · in Carefully but Purposefully Oxidising Ubuntu -
…utils, while retaining full compatibility with the existing utilities." https://uutils.github.io/ https://github.com/uutils/coreutils
comment by sillywalk · 2025-02-23 · in OpenBSD Innovations -
https://github.com/uutils/coreutils Parent wasn't about rust specifically. Just something safer than C
comment by ptman · 2025-02-23 · in OpenBSD Innovations -
…compared to making 13,498 commits. https://www.cvedetails.com/product/5075/GNU-Coreutils.html?v... https://github.com/uutils/coreutils
comment by hello_computer · 2024-11-03 · in Unix core utilities implemented in Haskell -
Related: https://github.com/uutils/coreutils "Cross-platform Rust rewrite of the GNU coreutils"
comment by fngjdflmdflg · 2024-07-22 · in Eza: A modern, maintained replacement for ls -
If you want core utilities rewritten in Rust … ‘uutils’ is exactly that. https://github.com/uutils/coreutils
comment by tiffanyh · 2024-06-08 · in Memory-safe, clean implementation of classic Posix "BC" calculator -
…and overloaded with rarely-used options. > A similar project with the aim of GNU compatibility is https://github.com/uutils/coreutils
comment by rfl890 · 2024-06-08 · in Memory-safe, clean implementation of classic Posix "BC" calculator -
…are also being used to test alternative implementations, such as uutils coreutils[0], in Rust. 0. https://github.com/uutils/coreutils
comment by snvzz · 2024-02-21 · in How the GNU coreutils are tested (2017)