4 ms·
And here are the actual code source for them : http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_plain;f=src/true.c;hb=HEAD http://git.savannah.gnu.or
by staz 13y ago
And here are the actual code source for them :
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_plain;f=src/true.c;hb=HEAD http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_p...
/bin/true source is a bit longer than expected but /bin/false implementation is really interesting :
http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_plain;f=src/false.c;hb=HEAD http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=blob_p...
- disgruntledphd2 13y agoThat is both hilarious and brilliant. The bin/false source code made me laugh out loud.
- mtdewcmu 13y agotrue.c could be useful as a kind of helloworld -- a minimal example of the conventions followed by gnu command line programs.
- rm445 13y agoGNU Hello exists for this purpose.