Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
spky4018yno-op executable?!?
Have you read the source code of 'true'?
You should, it is pretty huge for a program which does only return true... 🤓 -
spky4018y@sm1th This was no joke.. (unfortunately)
Just enjoy over 70 lines of code, someone else would squeeze into 4 lines:
https://gist.github.com/xorrbit/... -
sm1th2148y@spky Oh I guess they were talking about an old version of the true command, which was an empty file because empty scripts exits with 0. And AT&T still had their copyright in it...
This is not the article that I first saw (Can't find it) but here's another one explaining the history:
https://quora.com/What-is-the-dumbe...
Related Rants
I wanted that Makefile to avoid stripping binaries after building them, but there was no clear option for that. I only found this:
STRIP = strip
That tells where to find the executable that does the stripping. I changed it to a no-op executable, like "true".
So now I have
STRIP = true
to disable stripping.
undefined
makefile
c
wk19