Hacker News new | ask | show | jobs
by giucal 600 days 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]

1 comments

No, there’s OD. DONE is different but no less perverse.