getopt without GNU extensions is a part of the Unix Base Specifications and should be available mostly everywhere.
http://www.opengroup.org/onlinepubs/009695399/functions/getopt.html Yours, Sergio Le mercredi 26 septembre 2007 à 11:35 -0700, Chris Little a écrit : > > Eeli Kaikkonen wrote: > > On Tue, 25 Sep 2007, Troy A. Griffitts wrote: > >> As DM has said previously, it > >> would be really nice to have normal -options which are not order dependent. > > > > Using GNU getopt? > > http://www.gnu.org/software/libc/manual/html_node/Getopt.html > > Using anything from GNU would be a bad idea. Enduring "the chore > involved in parsing typical unix command line options" makes our code > more portable and avoids the need to license additional libraries. > > Writing a simple command line option parser isn't especially difficult > or burdensome, anyway. > > --Chris > > _______________________________________________ > sword-devel mailing list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel > Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page