fastports

getopt 2.41.3

misc/getopt

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

Category
misc
Maintainer
sunpoet@FreeBSD.org
WWW
https://github.com/util-linux/util-linux
License
GPLv2
USES
pkgconfig shebangfix tar:xz

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.

Dependencies

Commit History

may be incomplete — full history at freebsd-ports on GitHub

Loading commit history — this may take up to a minute on first view. Reload the page in a moment.