getopt - Replacement for getopt(1) that supports GNU-style long options

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package name getopt
Package version 1.1.6
Package architecture amd64
Package type txz
Installed size 137.43 KB
Download size 40.90 KB
Official Mirror
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
* It can report parse errors as coming from the shell script.
* It compiles cleanly with both libc-5 and glibc-2.
Categories: misc
- DOCS: on
- NLS: on


Package Version Architecture Repository
getopt-1.1.6.txz 1.1.6 i386 FreeBSD Ports Latest
getopt-1.1.6.txz 1.1.6 amd64 FreeBSD Ports Quarterly
getopt-1.1.6.txz 1.1.6 i386 FreeBSD Ports Quarterly
getopt - - -


Name Value
gettext-runtime = -


Type URL
Binary Package getopt-1.1.6.txz
Source Package misc/getopt

Install Howto

Install getopt txz package:

# pkg install getopt

See Also

Package Description
getssl-2.10_1.txz Local LetsEncrypt client for managing certificates on remote servers
gettext- GNU gettext meta package
gettext-lint-0.4_3.txz Check the validity and consistency of PO and POT files
gettext-msghack-0.2.txz Alter gettext po files in special ways
gettext-runtime- GNU gettext runtime libraries and programs
gettext-tools- GNU gettext development and translation tools
gexiv2-0.10.9_1.txz GObject-based wrapper around Exiv2 library
gexpr-2.0.2_1.txz Shell calculator
gfan-0.6.2.txz Software for computing Groebner fans and tropical varieties
gfanlib-0.6.2.txz Static library for computing Groebner fans and tropical varieties
gfbgraph-0.2.3.txz GObject library for Facebook Graph API
gff2ps-0.98l.txz Converts gff-formated genomic data-sets to PostScript
gflags-2.2.2_1.txz Commandline flags module for C++
gforth-0.7.3_11.txz Fast and portable Forth system
gftp-2.0.19_6.txz Free multithreaded GTK-based FTP and SFTP client