-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Karl Berry wrote:
> GNU getopt tries to do too much when it reorders the commandline and > therefor needs the "+" as a workaround. > >I don't suppose it matters at this point, but I fail to see the >connection here. You can tell GNU getopt to REQUIRE_ORDER instead of >PERMUTE without using +, either directly or setting POSIXLY_CORRECT in >various ways. I'd rather not control a function I'm calling by messing with environment variables, especially those that may have other side effects. > See the __ordering enum in getopt_int.h, for example. >(Seems like you probably already know this, so maybe it's unsuitable >somehow, if so, sorry for the noise.) It doesn't look to me like there is an easy way to set this from a caller of getopt(). >Also, I don't agree that it is "doing too much" to have PERMUTE be the >default for GNU. It is very useful for most programs. cvs has >exceptional command-line parsing needs. True. Cheers, Derek -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCgV4aLD1OTBfyMaQRAtYPAJ9q5KLtCt4T7JwYHNWSLqgPMKe2sgCg4D9I OIkpN56K4vKZXgSvo0tFmJM= =iNeT -----END PGP SIGNATURE----- _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib