News for hackers. Stuff that matters.
Re:Including “And. And. And. And. And.” in a Google doc caus... by dllthomas on Friday May 06, 2022 @12:46AM (#31281414)
> "DO" for "{" and "OD" for "}" so that they could write C++ a bit more like Bash.

Bash (like Bourne shell before it) uses do/done. I think DO/OD was in an Algol (68?). I'm not sure where else?

Bash does do the reversing for if/fi and case/esac, though.

Re:Including “And. And. And. And. And.” in a Google doc caus... by fanf2 on Friday May 06, 2022 @06:15AM (#31283446)
Steve Bourne wanted to use `od` to match Algol 68, but there was already an `od` utility for printing octal dumps.

The original bournegol macros for DO and OD were a bit different:

  #define DO ){
  #define OD ;}
https://www.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/sh...