|
|
|
|
|
by edelbitter
63 days ago
|
|
On a more positive note, the thing that causes me some temporary pain might still be awesome for the long-term success of GNU/Linux (or whatever we shall call it now, still looking for an updated pasta[1] recipe). As much as it was a little too early a little too move fast break stuff, I applaud Ubuntu for demanding the drop-in-replacement to be possible. To get where they are now, uutils needed to do the thing nobody bothered to do for 30 years: proper cli unit tests, the kind with which you can compare busybox/toybox/GNU/uutils/Darwin without depending on implementation details [2]. This will net more future good than current harm. Even if the tools cannot be changed to have fewer nonsensical edge cases for compatibility reasons, at least now I can ask $currentLLM to write me a better manpage, one that includes the gotchas [3] and factual errors that the 1996 (partly updated in 2004) version still fails. And improve shellcheck so even those among future generations that still need the shell as we know it today are not bitten by its warts as much. [1]: https://safereddit.com/r/copypasta/comments/av4rl9/what_your...
[2]: https://github.com/uutils/coreutils-tracking
[3]: https://www.pixelbeat.org/docs/coreutils-gotchas.html |
|
When you say that no one bothered to do this testing until uutils existed, it feels like you are discrediting our work. Any other implementation is free to use our test suite, as long as they respect its licensing. Doing so is relatively straightforward; you just need to point a shell variable to the place with the just-built binaries.
Note that the man pages are a quick reference explaining the options. A lot of gotchas and further explanations are located in the texinfo manual, which is over 300 pages in PDF form [1]. If you notice areas where it could be improved, I would be happy to review your bug report sent to bug-coreutils@gnu.org.
[1] https://www.gnu.org/software/coreutils/manual/coreutils.html