bin/48603: [patch] getopt(1) is broken

Jilles Tjoelker jilles at
Sun Apr 5 07:50:02 PDT 2009

The following reply was made to PR bin/48603; it has been noted by GNATS.

From: Jilles Tjoelker <jilles at>
To: bug-followup at, stalker at Math.Princeton.EDU
Subject: Re: bin/48603: [patch] getopt(1) is broken
Date: Sun, 5 Apr 2009 16:47:19 +0200

 getopts should be used instead of getopt. Being a shell builtin, it can
 avoid the problems with getopt. It would probably be useful to have
 some information about getopts in the getopt man page.
 Jilles Tjoelker

More information about the freebsd-bugs mailing list