Craig McLean wrote:
First is there any standardized way of parsing command line inputs to a C
program.  I rummaged around the C standard looking for some magic library
that makes command line input parsing not suck, but there isn't anything.
Is there some well used external library I can grab and use to ease command
line input parsing in C programs?

don't know what you need exactly, but have you looked at "getopt"?
it comes with glibc. the glibc manual has some example code for using getopt and the man pages can help too.


man 3 getopt
man 3 getopt_long

Dave


_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to