devel/popt 1.16p4 OpenBSD
getopt(3)-like library with a number of enhancements
- System
- OpenBSD
- Repository
- OpenBSD ports
- Maintainer
- The OpenBSD ports mailing-list <[email protected]>
- Categories
- devel
Description
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
In the other systems
| System | Port | Version |
|---|---|---|
| OpenBSD | devel/popt | 1.16p4 |
| FreeBSD | devel/popt | 1.19,2 |
| NetBSD | devel/popt | 1.19 |
| DragonFly | devel/popt | 1.19_1 |
| MidnightBSD | devel/popt | 1.19 |
| HardenedBSD | devel/popt | 1.19,2 |
| GhostBSD | devel/popt | 1.19_2,1 |
| OPNsense | devel/popt | 1.19_1 |
Install
Binary package:
pkg_add popt
From the ports tree:
cd /usr/ports/devel/popt && make install