[Ilugc] info on writing a parser!

  • From: binand@xxxxxxxxx (Binand Sethumadhavan)
  • Date: Mon Jul 4 14:57:54 2005

On 04 Jul 2005 14:39:35 +0530, Raja Mallik <raja.mallik@xxxxxxxxxxx> wrote:

I am starting on "C command line parser" which can take multi-level
tree.

What exactly is a C command line parser? Do you want a parser for the
command line, written in C? If yes, then all it takes is to have a
loop that walks over the argv[] array. The getopt() library function
does most of the work for you, if you want a short-circuit solution.

Binand

Other related posts: