misc/getopt 1.1.6_2 DragonFly
Replacement for getopt(1) that supports GNU-style long options
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- GPLv2
- Categories
- misc
- Package size
- 24.8 KiB, 54.1 KiB installed
Description
Rewrite of getopt(1) with the following features:
* It can do anything that the GNU getopt(3) routines can do. * It can cope with spaces and shell metacharacters within arguments. * It can parse long parameters. * It can shuffle parameters, so you can mix options and other parameters on the command-line. * It can be easily identified as an enhanced getopt(1) from within shell scripts. * It can report parse errors as coming from the shell script. * It compiles cleanly with both libc-5 and glibc-2.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | misc/getopt | 1.1.6_2 |
| FreeBSD | misc/getopt | 2.42.4 |
| NetBSD | misc/getopt | 1.1.6nb1 |
| MidnightBSD | misc/getopt | 1.1.6_1 |
Install
Binary package:
pkg install getopt
From DPorts:
cd /usr/dports/misc/getopt && make install clean