[TUHS] Of flags and keyletters

Rich Salz rich.salz at gmail.com
Mon Mar 4 07:24:11 AEST 2024


On Sun, Mar 3, 2024 at 12:38 PM Aaron <aaronscohen at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.tuhs.org/pipermail/tuhs/attachments/20240303/075d051d/attachment.htm>


More information about the TUHS mailing list