2 ms·
The original coreutils are very weak on wide-char formatting, item delimiting (i.e. -null / -print0), flag name consistency, discoverability, and overall input/
by hello_computer 2y ago
The original coreutils are very weak on wide-char formatting, item delimiting (i.e. -null / -print0), flag name consistency, discoverability, and overall input/output uniformity. Solving the edge cases rigorously would probably require minor breakages, but would be worthwhile.
Most coreutil re-workings i’ve seen either double-down on JSON output, 24-bit color, sixels, & other lipsticks on the pig—without addressing any of the basic breakages we’ve become accustomed to—or they go off into an entirely different direction like nushell.
There is definitely room for improvement, but it is a thankless job.
- Muromec 2y agoWhy not have bug to bug compatible vetsion of coreutils, but in rust and then have a nice thing too?
- hello_computer 2y agoMost are simple programs. If bug-per-bug compat + memory safety is the goal, carefully reviewing the C would have been a vastly better investment of time compared to making 13,498 commits. https://www.cvedetails.com/product/5075/GNU-Coreutils.html?vendor_id=72 https://www.cvedetails.com/product/5075/GNU-Coreutils.html?v... https://github.com/uutils/coreutils https://github.com/uutils/coreutils