Date: Sun, 23 Dec 2001 16:01:47 +0200 From: Yuri Karaban <ura@sphinx.univ.kiev.ua> To: Kris Kennaway <kris@FreeBSD.ORG> Cc: freebsd-arch@FreeBSD.ORG Subject: Re: gnu getopt in libc Message-ID: <20011223140147.GA35333@sphinx.univ.kiev.ua> In-Reply-To: <20011223052508.A99762@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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011223140147.GA35333>