4 ms·
I didn't try it but I think it would be relatively straightforward to compile GNU tools on BSD. But generally GNU tends to focus on performance and features wh
by GuB-42 4y ago
I didn't try it but I think it would be relatively straightforward to compile GNU tools on BSD.
But generally GNU tends to focus on performance and features while BSD focuses on simplicity. GNU having ridiculously complex code to do trivial things is kind of a meme.
And also, most people don't need a ridiculously fast "yes". Usually, when you want a fast stream of bytes, for example to fill up some space, /dev/zero is a better option.
- bauruine 4y ago>GNU having ridiculously complex code to do trivial things is kind of a meme. One of the reasons is that GNU had to reimlmement UNIX tools as GPL code. How do you reimplement something trivial without it looking as the original to avoid copyright claims? One of the solutions is to implement it as complicated as possible.
- rahen 4y agoFor the trivia, GNU "true" is an abomination which even includes a cornercase that returns "false". Meanwhile, its BSD version essentially sums up to "return 1". Same for much of the GNU code: - echo: https://gist.github.com/fogus/1094067 https://gist.github.com/fogus/1094067 - cat: http://9front.org/img/longcat.png http://9front.org/img/longcat.png