The source code of the Bourne shell is full of things like this: #define IFif( #define THEN){ #define FI;} This lets you write C that looks like shell scripts. This is sometimes called "bournegol"! https://oldhome.schmorp.de/marc/bournegol.html