Hello Michael, On 9/8/20 12:03 PM, michael.saunders@xxxxxxx wrote: > Think this is just a one char bug. > > In the first example provided, the if statement checks for `optind >= argc`, > which I believe should be `<` or maybe `<=`. > Thanks for the truly indespensable work. The code looks okay to me. Why do you think it's wrong? Thanks, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/