On Tue, Dec 18, 2007 at 10:12:41PM +0100, Alfred M. Szmidt wrote: > You might be interested in argp (part of glibc and gnulib) which does > more or less what you wish to achive, without the need for initial > parsing.
I see 2 main advantages of genparse: 1. It does a significant part of the work at compile time. So the generated code can be quite simple and fast. 2. It is able to auto generate a highly configurable usage function. Many of the replies on my previous posts to the coreutils mailing list were about the usage function. argp also can print a usage function but how far can you customize it? Has anybody tried to convert one of the coreutils tools to use argp? I would be very interested to see a comparison to the genparse solution. Michael _______________________________________________ Bug-coreutils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-coreutils
