News for hackers. Stuff that matters.
Re:Pretty.c by giucal on Thursday October 24, 2024 @06:22AM (#41934085)
> 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]

Re:Pretty.c by epcoa on Thursday October 24, 2024 @08:29PM (#41941193)
No, there’s OD. DONE is different but no less perverse.