[Ilugc] info on writing a parser!

  • From: suraj@xxxxxxxxxxx (Suraj)
  • Date: Mon Jul 4 15:11:36 2005

Binand Sethumadhavan wrote: 
,----
| 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.
`----

Or if he  means command line editor (like that  of a 'command shell'),
then GNU Readline[1] it is.

Footnotes
=========

[1] http://cnswww.cns.cwru.edu/~chet/readline/readline.html

-- 
,-----------------[http://www.symonds.net/~suraj/]---o
| Swati Tirunal was King of Travancore.
`------------------------------[suraj@xxxxxxxxxxx]---o

Other related posts: