2 ms·
> gnu coreutils where the program "true" which simply returns a successful status code on run, is hundreds of lines in C Looking at [0] it seems to be 80 lines
by MaxBarraclough 5y ago
> gnu coreutils where the program "true" which simply returns a successful status code on run, is hundreds of lines in C
Looking at [0] it seems to be 80 lines, as it's doing argument-parsing (for --help and --version) and stream-management.
[0] https://github.com/coreutils/coreutils/blob/master/src/true.c https://github.com/coreutils/coreutils/blob/master/src/true....