On 2019-10-23 19:22, sunnycemet...@gmail.com wrote: > On 2019-09-02 17:22, Bernhard Voelker wrote: >> Just recently I've been asked (off-list) why src/true.c needs to have >> 80+ lines while 3 lines would be enough. > > This piqued my curiosity. Obvious comment header, localization, and > --{help,version} fluff aside, I was not aware of the GNU-specific fringe > case, outlined on the info page as steps to force true to produce a false > return value. It has been added to my list of party gags.
You probably mean this case? $ env true --version >/dev/full ; echo $? true: write error: No space left on device 1 Well, that's for programming safety and - after all - consistency among the GNU tools. Have a nice day, Berny