3 ms·
I suspect that part of it is unusual syntax--if...fi, anyone?--and part of it is unusual syntax in non-bash things, i.e., Awk looks like moon runes, and to repl
by dawnbreez 11y ago
I suspect that part of it is unusual syntax--if...fi, anyone?--and part of it is unusual syntax in non-bash things, i.e., Awk looks like moon runes, and to replace ; with \; in sed you need a grand total of SIX backslashes.
- dllthomas 11y ago> if...fi, anyone? And here I thought everyone wanted ALGOL-like syntax...
- dawnbreez 11y agoAs someone who dabbled in C-like languages, it threw me for a little bit.
- dllthomas 11y agoMy comment was a joke based on contrasting two points: 1) "C-like" languages are often described as having "ALGOL-like" syntax. And indeed, C was based on languages significantly influenced by ALGOL-60 (though ALGOL-60 used BEGIN/END for blocks, not curly braces). 2) "IF/FI", "CASE/ESAC" and similar were in ALGOL-68, and Stephen Bourne drew them from there when he wrote the Bourne shell (with which bash was eventually intended to be compatible).
- dllthomas 11y ago> if...fi, anyone? And here I thought everyone wanted ALGOL-like syntax...