News for hackers. Stuff that matters.
Re:Pretty.c by sph on Thursday October 24, 2024 @03:00AM (#41932740)
Now that's just silly. And I see the backwards keyword terminators (LOOP/POOL).

I have wondered why we have case/esac, if/fi but while/done. I imagine the author himself figured that while/elihw would just be entirely ridiculous.

Re:Pretty.c by pavlov on Thursday October 24, 2024 @04:22AM (#41933324)
Just call it wyl/lyw. Pronunciation maintained, problem solved.
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.