Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Dec 2001 12:19:30 -0800
From:      Peter Wemm <peter@wemm.org>
To:        Yuri Karaban <ura@sphinx.univ.kiev.ua>
Cc:        freebsd-arch@FreeBSD.ORG
Subject:   Re: gnu getopt in libc 
Message-ID:  <20011222201930.B9DEF38CC@overcee.netplex.com.au>
In-Reply-To: <20011222132030.GA19596@sphinx.univ.kiev.ua> 

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri Karaban wrote:
> gnu getopt supports long options and can reorder option keys
> so i can write:
> some_program -a -b -c file1 file2 -d -e -f
> 
> FreeBSD getopt in libc very simple it can recoginze only one letter
> arguments, does not support optional arguments and arguments to
> program may appear only at the beginning.
> 
> so why dont replace libc/stdlib/getopt.c by gnu version ?

1) because it is nonstandard
2) it is GPL contaminated which we cannot use in libc.

Cheers,
-Peter
--
Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au
"All of this is for nothing if we don't go to the stars" - JMS/B5


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?20011222201930.B9DEF38CC>