Hacker News new | ask | show | jobs
by mrweasel 386 days ago
The OpenBSD version of true is also amazing: https://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr...

The GNU version of true/false is more interesting. All the logic is in true and false just redefined the EXIT_STATUS and imports all of true.c. https://github.com/coreutils/coreutils/blob/master/src/false...

1 comments

So basically they also introduced the complexity of respecting --help and --version.
They did, because it is written somewhere that all GNU programs must conform to having --help and --version. I forgot where I read it.