./devel/popt, Command line option parsing library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2007Q4, Version: 1.10.7, Package name: popt-1.10.7, Maintainer: pkgsrc-users

This is the popt command line option parsing library. While it is similar
to getopt(3), it contains a number of enhancements, including:

1) popt is fully reentrant
2) popt can parse arbitrary argv[] style arrays while
getopt(2) makes this quite difficult
3) popt allows users to alias command line arguments
4) popt provides convenience functions for parsing strings
into argv[] style arrays

popt is used by rpm, the Red Hat install program, and many other Red Hat
utilities, all of which provide excellent examples of how to use popt.
Complete documentation on popt is available in popt.ps (included in this
tarball), which is excerpted with permission from the book "Linux
Application Development" by Michael K. Johnson and Erik Troan (available
from Addison Wesley in May, 1998).

Comments on popt should be addressed to ewt@redhat.com.


Master sites:

SHA1: c1a22bd3b50b24f64654c69a6f91142ca54ca853
RMD160: d5342c1a5e1059f45d75a93ca7a3c997b2fef05d
Filesize: 711.214 KB

Version history: (Expand)