[PATCH] Command line parsing of tail with genparse
From:
Michael Geng
Subject:
[PATCH] Command line parsing of tail with genparse
Date:
Sun, 19 Aug 2007 16:48:11 +0200
User-agent:
Mutt/1.5.9i
Hi Jim, hello everybody,
genparse version 0.6.8 has support for command line parameters
with optional arguments now. This was the most important missing
feature for generating the command line parsing code for the tail
command. I focused on the tail command because in a previous email
you suggested tail as a candidate for genparse.
The attached patch contains the genparse extensions for both the
wc command (as previously posted) and the tail command. I verified
that it successfully passes make check. I also added tail to
the examples on the genparse homepage
(http://genparse.sourceforge.net/examples.html) so that you can
have a look at the generated code without downloading and building
the latest version of genparse.
As usual: Any comments welcome!
Michael