rpm/popt
jbj 8dab48ac0a miscellaneous portability cruft (Eugene Kanter).
CVS patchset: 2395
CVS date: 1998/10/05 18:31:48
1998-10-05 18:31:48 +00:00
..
po Update header. 1997-01-02 08:34:28 +00:00
.cvsignore added test1 1998-07-27 16:25:21 +00:00
CHANGES *** empty log message *** 1998-07-27 18:53:42 +00:00
Makefile.in miscellaneous portability cruft (Eugene Kanter). 1998-10-02 15:37:37 +00:00
README *** empty log message *** 1998-03-23 20:52:17 +00:00
configure.in miscellaneous portability cruft (Eugene Kanter). 1998-10-05 18:31:48 +00:00
findme.c hpux does setreuid differently (Hermann Lauer) 1998-09-24 16:57:38 +00:00
findme.h *** empty log message *** 1998-07-27 18:53:42 +00:00
install-sh *** empty log message *** 1998-03-23 20:26:36 +00:00
popt.3 started autohelp, include, and callback docs 1998-09-27 15:53:49 +00:00
popt.c add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>) 1998-09-27 20:17:31 +00:00
popt.h changed popt callbacks t get a pointer into the option table 1998-09-27 15:54:20 +00:00
popt.ps *** empty log message *** 1998-03-23 20:26:36 +00:00
popt.spec changed group to Utilities/System 1998-06-30 20:13:44 +00:00
poptconfig.c 1) modified test to display callback val field 1998-09-27 15:56:18 +00:00
popthelp.c 1) modified test to display callback val field 1998-09-27 15:56:18 +00:00
poptint.h split popt into multiple files 1998-09-27 15:57:56 +00:00
poptparse.c 1) modified test to display callback val field 1998-09-27 15:56:18 +00:00
test-poptrc *** empty log message *** 1998-07-27 15:54:20 +00:00
test1.c add Slovak translation (Stanislav Meduna <stano@trillian.eunet.sk>) 1998-09-27 20:17:31 +00:00
testit.sh made callback display val 1998-09-27 15:58:31 +00:00

README

This is the popt command line option parsing library. While it is similiar
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 convience functions for parsting 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 (availble
from Addison Wesley in May, 1998).

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