Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Apr 2009 14:50:02 GMT
From:      Jilles Tjoelker <jilles@stack.nl>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/48603: [patch] getopt(1) is broken
Message-ID:  <200904051450.n35Eo2UF072428@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/48603; it has been noted by GNATS.

From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, stalker@Math.Princeton.EDU
Cc:  
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904051450.n35Eo2UF072428>