Date: Sun, 23 Dec 2001 06:20:39 -0800 From: Kris Kennaway <kris@FreeBSD.ORG> To: Kris Kennaway <kris@FreeBSD.ORG>, freebsd-arch@FreeBSD.ORG Subject: Re: gnu getopt in libc Message-ID: <20011223062039.A827@citusc17.usc.edu> In-Reply-To: <20011223140147.GA35333@sphinx.univ.kiev.ua>; from ura@sphinx.univ.kiev.ua on Sun, Dec 23, 2001 at 04:01:47PM %2B0200 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>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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: > > > > > NetBSD have a BSDL'ed getopt_long() in their libc. It's required for > > > > 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 reorder ? > > > > 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 > > 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 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iD8DBQE8Jeg3Wry0BWjoQKURApw7AKCwgt9CrpoxWCPQMFF12y0PVKBoVwCfV132 sjIz+iO9qsREUf2oevondWY= =kq7R -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223062039.A827>
