May 21, 2026
Shell shock from the 1970s
Bournegol???
Old shell code sparks laughter, nostalgia, and a mini syntax war
TLDR: An old excerpt of the original Unix shell revealed "Bournegol," a quirky coding style that made C look like a different language entirely. Commenters were split between affectionate nostalgia and full-on mockery, with jokes, war stories, and one viral verdict: this was C for people who didn’t like C.
A dusty quote about "Bournegol" — the strange, almost storybook-like coding style Steve Bourne used while creating the original Unix shell — sent the community straight into equal parts history lesson and roast session. The article digs up a wild old code sample full of words like IF, THEN, and FI, making modern readers do a double take and ask: wait, this was real? The answer appears to be yes, and that alone was enough to light up the comments.
The hottest reaction was basically: "This is C for people who hate C." That line from FrankWilhoit became the thread’s unofficial slogan, with others piling on with stories of old codebases stuffed with custom macros that tried to turn one language into another. Some found it charmingly human — programmer as creature of habit — especially after one commenter said Steve Bourne’s explanation was brutally simple: he wrote it that way because it was the syntax he knew best. Others were less sentimental, calling it the sort of thing beginners do before quickly regretting it.
And of course, the jokes flew. One commenter saw #define LOOP for(;;){ and instantly declared it "Predicted Rust," turning a niche bit of programming archaeology into a meme. In a final dash of internet chaos, someone reported the page randomly redirecting to Anthropic, which only made the whole saga feel even more cursed, comic, and perfectly online.
Key Points
- •The article investigates the term "Bournegol," introduced through a Unix Power Tools quote about modifying the original Bourne shell source.
- •The author publishes an example of Bournegol after finding original Bourne shell source code difficult to locate.
- •The main evidence is an excerpt from `xec.c`, said to be from 7th Edition UNIX, showing ALGOL-like macro-based C syntax.
- •The excerpt demonstrates shell internals including command execution, built-in command handling, trap handling, and fork logic.
- •The article provides related macro definitions from `mac.h`, including mappings such as `LOCAL` to `static`, to help readers interpret the code.