On Sun, Mar 3, 2024 at 12:38 PM Aaron <aaronscohen@gmail.com> wrote:
Having written the first versions of getopt(3), getopt(1), and associated man pages around 1979 ...

I always thought that this was a brilliant piece of engineering.  In less than 70 lines, it was a clever, but not obtuse, bit of code to handle the most common option/flag/switch usages that pervaded the Unix ecosystem at the time.  Thanks for that!

Source: https://www.linux.co.cr/unix-source-code/review/1985/1103.html