From owner-freebsd-bugs@FreeBSD.ORG Sun Apr 5 14:50:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52585106566C for ; Sun, 5 Apr 2009 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 26CBB8FC15 for ; Sun, 5 Apr 2009 14:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n35Eo2NT072429 for ; Sun, 5 Apr 2009 14:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n35Eo2UF072428; Sun, 5 Apr 2009 14:50:02 GMT (envelope-from gnats) Date: Sun, 5 Apr 2009 14:50:02 GMT Message-Id: <200904051450.n35Eo2UF072428@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Jilles Tjoelker Cc: Subject: Re: bin/48603: [patch] getopt(1) is broken X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jilles Tjoelker List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Apr 2009 14:50:02 -0000 The following reply was made to PR bin/48603; it has been noted by GNATS. From: Jilles Tjoelker 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