~ubuntu-branches/ubuntu/edgy/rpm/edgy

« back to all changes in this revision

Viewing changes to popt/README

  • Committer: Bazaar Package Importer
  • Author(s): Joey Hess
  • Date: 2002-01-22 20:56:57 UTC
  • Revision ID: james.westby@ubuntu.com-20020122205657-l74j50mr9z8ofcl5
Tags: upstream-4.0.3
ImportĀ upstreamĀ versionĀ 4.0.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This is the popt command line option parsing library. While it is similiar
 
2
to getopt(3), it contains a number of enhancements, including:
 
3
 
 
4
        1) popt is fully reentrant
 
5
        2) popt can parse arbitrary argv[] style arrays while 
 
6
           getopt(2) makes this quite difficult
 
7
        3) popt allows users to alias command line arguments
 
8
        4) popt provides convience functions for parsting strings
 
9
           into argv[] style arrays
 
10
 
 
11
popt is used by rpm, the Red Hat install program, and many other Red Hat
 
12
utilities, all of which provide excellent examples of how to use popt. 
 
13
Complete documentation on popt is available in popt.ps (included in this
 
14
tarball), which is excerpted with permission from the book "Linux
 
15
Application Development" by Michael K. Johnson and Erik Troan (availble
 
16
from Addison Wesley in May, 1998).
 
17
 
 
18
Comments on popt should be addressed to ewt@redhat.com.