getopt-long

Przemyslaw Brojewski przemek at my.tenbit.pl
Fri Aug 1 14:43:09 CEST 2003


On Fri, Aug 01, 2003 at 12:59:48AM +0200, Matthias Andree wrote:
> Gyepi SAM <gyepi at praxis-sw.com> writes:
> 
> > Another method I have used successfully is to maintain the list in
> > text format and use perl to parse it and output the appropriate c
> > files.  If I were doing it again, however, I would use tools like
> > autogen and gslgen and save myself some trouble.  Requiring such tools
> > would of developers should be OK, I figure.
> 
> I won't object if the generated code works reasonably well.
i.e. cuts the number of options in half? :)

> (AFAIR, the GNU getopt code is supposed to be shipped with other GPL code,
> should > that matter.)  Apparently, the uogetopt that I mentioned earlier
> is supposed to tackle some of the maintenance problems as well.

GNU getopt is a part of glibc. Licenses under LGPL. Are there any
specific reasons not to use it and chose uogetopt instead?

Przemyslaw Brojewski.




More information about the Bogofilter mailing list