Thanks to Kurt for pointing out popt(). My test program pretty much does what I want on options, even letting me do single, multiple and variable input list(s).
Kurt Wall wrote:
<SNIP>
Method 4: Use popt(). It is getopt on steroids, and has the additional ability to store filters for command line options in an external file, thus allowing you to extend your command line option processing without having to modify/rebuild your program. popt() and friends should be available on any system that is RPM-based.
Kurt
-- Ben Duncan Phone (601)-355-2574 Fax (601)-355-2573 Cell (601)-946-1220 Business Network Solutions 336 Elton Road Jackson MS, 39212 "Software is like Sex, it is better when it's free" - Linus Torvalds
_______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users