6 ms·
> I have wondered why we have case/esac, if/fi but while/done. With the reverse-keyword convention we'd get "od", not "elihw", though. while ... for ..
by giucal 2y ago
> I have wondered why we have case/esac, if/fi but while/done.
With the reverse-keyword convention we'd get "od", not "elihw", though.
while ... for ...
do do
... ...
od od
The 'od' utility already existed, apparently, so Bourne opted for "done".
[edit: typos]
- epcoa 2y agoNo, there’s OD. DONE is different but no less perverse.