3 ms·
Bash is trying to mimic algol68 (poorly). Allegedly the guy who created bash had a bunch of C macros that made C more algol68-like.
by Kamq 4y ago
Bash is trying to mimic algol68 (poorly).
Allegedly the guy who created bash had a bunch of C macros that made C more algol68-like.
- GranPC 4y agoYou might be thinking of bsh rather than bash: http://oldhome.schmorp.de/marc/bournegol.html http://oldhome.schmorp.de/marc/bournegol.html
- ncmncm 4y agoNo, that was sh. Steve Bourne. I met him once. #define IF if( #define THEN ){ #define ELSE }else{ #define ELSEIF }else if( #define END } #define WHILE while( #define FOR for( These are described as "non-syntactic macros" and are frowned on these days, but it was the Wild West in the early '70s.