From owner-freebsd-arch Sun Dec 23 6:20:49 2001 Delivered-To: freebsd-arch@freebsd.org Received: from citusc17.usc.edu (citusc17.usc.edu [128.125.38.177]) by hub.freebsd.org (Postfix) with ESMTP id EC8EA37B417; Sun, 23 Dec 2001 06:20:39 -0800 (PST) Received: (from kris@localhost) by citusc17.usc.edu (8.11.6/8.11.4) id fBNEKdD00846; Sun, 23 Dec 2001 06:20:39 -0800 (PST) (envelope-from kris) Date: Sun, 23 Dec 2001 06:20:39 -0800 From: Kris Kennaway To: Kris Kennaway , freebsd-arch@FreeBSD.ORG Subject: Re: gnu getopt in libc Message-ID: <20011223062039.A827@citusc17.usc.edu> References: <20011222132030.GA19596@sphinx.univ.kiev.ua> <20011222201930.B9DEF38CC@overcee.netplex.com.au> <20011222212453.A91247@citusc17.usc.edu> <20011223094407.GA31337@sphinx.univ.kiev.ua> <20011223052508.A99762@citusc17.usc.edu> <20011223140147.GA35333@sphinx.univ.kiev.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011223140147.GA35333@sphinx.univ.kiev.ua>; from ura@sphinx.univ.kiev.ua on Sun, Dec 23, 2001 at 04:01:47PM +0200 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 23, 2001 at 04:01:47PM +0200, Yuri Karaban wrote: > On Sun, Dec 23, 2001 at 05:25:08AM -0800, Kris Kennaway wrote: >=20 > > > > NetBSD have a BSDL'ed getopt_long() in their libc. It's required f= or > > > > GNU tar longopt support in pax(1) - I have an almost complete port = of > > > > both in my tree. > > > Does the NetBSD getopt support the optional arguments and options reo= rder ? > >=20 > > I don't know off-hand..I'm not even sure what you mean :) > optional arguments is like: > %> some_prog -n 10 > and > %> some_prog -n > are both valid >=20 > and options reorder is: > %> some_prog -a -b -c hello world -d -e f > for getopt caller is the same as > %> some_prog -a -b -c -d -e -f hello world Okay, now I'm sure what you mean, but I still don't know off-hand :-) Kris --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Jeg3Wry0BWjoQKURApw7AKCwgt9CrpoxWCPQMFF12y0PVKBoVwCfV132 sjIz+iO9qsREUf2oevondWY= =kq7R -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message