[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argument parsing library for C programs?
From: |
Ken Gosier |
Subject: |
Re: argument parsing library for C programs? |
Date: |
Thu, 14 Feb 2002 14:16:38 -0800 (PST) |
You may try using the gnu getopt and getopt_long functions.
These are described if you go to www.gnu.org and search on
getopt--
--- Paul E Johnson <address@hidden> wrote:
> Dear C programmer folk:
>
> I learnt command line argument parsing with Swarm, but
> now need to do a
> C program with no Swarm (for comparison purposes, one
> must walk on the
> dark side). So to parse command line arguments, would
> you recommend any
> command line argument parsing libraries for me? If there
> were one that
> worked on the same principles as Swarm, it would be most
> easy for me, of
> course.
>
> I found one called popt that is a library that the RedHat
> folk have
> souped up to work with the rpm system. I'm thinking I
> might try that,
> since it is in all my systems already. It looks like an
> afternoon of
> manual reading and fiddling. I find that, if I ask first
> in here, I get
> advice that might lead me into another package.
>
> --
> Paul E. Johnson email:
> address@hidden
> Dept. of Political Science
> http://lark.cc.ukans.edu/~pauljohn
> University of Kansas Office: (785)
> 864-9086
> Lawrence, Kansas 66045 FAX: (785) 864-5700
>
>
> ==================================
> Swarm-Support is for discussion of the technical
> details of the day
> to day usage of Swarm. For list administration needs
> (esp.
> [un]subscribing), please send a message to
> <address@hidden>
> with "help" in the body of the message.
>
>
>
>
=====
Ken Gosier
address@hidden
__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.