popt
A command line option parsing library
popt
Description
This is the popt(3) command line option parsing library. While it is similiar to getopt(3), it contains a number of enhancements, including: - popt is fully reentrant - popt can parse arbitrary argv[] style arrays while getopt(3) makes this quite difficult - popt allows users to alias command line arguments - popt provides convience functions for parsing strings into argv[] style arrays
Install
Channel stable v1.16-6
This app is curated in HaikuPorts. Install it from there, it is already available in HaikuDepot.
pkgman install popt
Careful: the file comes from HaikuPorts' own server, but installing it by hand is not the way in. It is pkgman that resolves the dependencies an .hpkg does not carry with it, and a package installed on its own may simply not run. Use the pkgman command above, unless you know exactly why you want the file.