1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/misc/getopt/pkg-descr
Sergey A. Osokin 445d53b2d1 A getopt(1) replacement that supports GNU-style long options
Submitted by:	Sergei Kolobov <sergei@kolobov.com>
PR:		53174
Approved by:	fjoe (implicit)
2003-06-13 23:56:42 +00:00

15 lines
594 B
Plaintext

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.
Author: Frodo Looijaard <frodol@dds.nl>
WWW: http://huizen.dds.nl/~frodol/getopt.html