Skip to content

Archives

Bournegol

  • Bournegol

    The original source code for the Bourne shell in early versions of UNIX is legendarily bizarre, as it was written in "Bournegol", the ALGOL-like dialect of C that Steve Bourne came up with, with a load of macros to make C look a bit like ALGOL 68. This page has a good representative sample. Thanks to Tony Finch for the reminder

    Tags: via:fanf bournegol algol programming languages bizarre funny unix bin-sh macros