|
Last change
on this file since 316 was 133, checked in by Paul Smedley, 17 years ago |
|
Update trunk to 3.2.0pre3
|
|
File size:
854 bytes
|
| Line | |
|---|
| 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 parsing 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.
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.