Follow

one of my favorite historical software lols is /usr/bin/true which started out as an empty file but now is 80 lines of C, just to return 0

github.com/coreutils/coreutils

· SubwayTooter · 2 · 0 · 3

@specter and let us not forget `false`... "do nothing, unsuccessfully". Returns 1. 🤘

@specter I don't think it was empty, it would at least have one line to set the interpreter ("#!/bin/sh"). Also, the source code size depends on the implementation (GNU is not the only nor the "official" implementation), the freebsd one is 48 lines (or effectively 5 lines) of C.
github.com/freebsd/freebsd/blo

Sign in to participate in the conversation
Mastodon for Tech Folks

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!