1
submitted 2 days ago by cm0002@toast.ooo to c/linux@programming.dev

Since Ubuntu started shipping the Rust rewrite of coreutils by default, I got curious how close it really is to the GNU tools in day to day edge cases.

So I wrote a small recorder. It runs a CLI on a few hundred cases and saves what it did: stdout, stderr, exit code and the files it touched. Then it replays the same cases against another binary and shows the diffs.

Pointed at GNU coreutils 9.12 vs uutils, most differences were not crashes. They were error message wording, exit codes, option parsing corners (a bare - being taken as an option value) and a few things that turned out to be GNU version differences rather than bugs.

I reported what I found upstream: 44 bug reports and 51 small fix PRs so far, 34 merged. The uutils folks have been great to work with.

The tool is open source (MIT), works on any CLI, not only coreutils: https://github.com/emirmrkaljevic/behave

OC by @emirmrkaljevic@programming.dev

no comments (yet)
sorted by: hot top new old
there doesn't seem to be anything here
this post was submitted on 25 Nov 2026
1 points (52.9% liked)

Linux

15575 readers
218 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS