The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD misc : getopt

A getopt(1) replacement that supports GNU-style long options

 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 
 

http://software.frodo.looijaard.name/getopt/



getopt history


v. 1.6
date: 2005/11/21 13:15:48;  author: sergei;  state: Exp;  lines: +2 -3
- Update to 1.1.4
- Chase MASTER_SITE URL change [1]
- Add SHA256 checksum

Prompted by:	fenner's portsurvey [1]

v. 1.5 date: 2005/02/19 11:00:12; author: sergei; state: Exp; lines: +1 -1 - Update MASTER_SITES and WWW Prompted by: pointyhat via kris
v. 1.4 date: 2004/02/04 04:36:08; author: marcus; state: Exp; lines: +2 -2 Add USE_GETTEXT and bump PORTREVISION. Submitted by: trevor Tested by: bento
v. 1.3 date: 2004/01/23 18:12:03; author: trevor; state: Exp; lines: +1 -1 Now gettext 0.12.1 is gettext-old.
v. 1.2 date: 2003/10/23 05:42:47; author: sergei; state: Exp; lines: +1 -1 Change to my @FreeBSD.org address. Approved by: krion
v. 1.1 date: 2003/06/13 23:56:41; author: osa; state: Exp; A getopt(1) replacement that supports GNU-style long options Submitted by: Sergei Kolobov PR: 53174 Approved by: fjoe (implicit) ============================================================================= v. 1.6 date: 2005/11/21 13:15:48; author: sergei; state: Exp; lines: +2 -3 - Update to 1.1.4 - Chase MASTER_SITE URL change [1] - Add SHA256 checksum Prompted by: fenner's portsurvey [1]
v. 1.5 date: 2005/02/19 11:00:12; author: sergei; state: Exp; lines: +1 -1 - Update MASTER_SITES and WWW Prompted by: pointyhat via kris
v. 1.4 date: 2004/02/04 04:36:08; author: marcus; state: Exp; lines: +2 -2 Add USE_GETTEXT and bump PORTREVISION. Submitted by: trevor Tested by: bento
v. 1.3 date: 2004/01/23 18:12:03; author: trevor; state: Exp; lines: +1 -1 Now gettext 0.12.1 is gettext-old.
v. 1.2 date: 2003/10/23 05:42:47; author: sergei; state: Exp; lines: +1 -1 Change to my @FreeBSD.org address. Approved by: krion
v. 1.1 date: 2003/06/13 23:56:41; author: osa; state: Exp; A getopt(1) replacement that supports GNU-style long options Submitted by: Sergei Kolobov PR: 53174 Approved by: fjoe (implicit) ============================================================================= v. 1.6 date: 2005/11/21 13:15:48; author: sergei; state: Exp; lines: +2 -3 - Update to 1.1.4 - Chase MASTER_SITE URL change [1] - Add SHA256 checksum Prompted by: fenner's portsurvey [1]
v. 1.5 date: 2005/02/19 11:00:12; author: sergei; state: Exp; lines: +1 -1 - Update MASTER_SITES and WWW Prompted by: pointyhat via kris
v. 1.4 date: 2004/02/04 04:36:08; author: marcus; state: Exp; lines: +2 -2 Add USE_GETTEXT and bump PORTREVISION. Submitted by: trevor Tested by: bento
v. 1.3 date: 2004/01/23 18:12:03; author: trevor; state: Exp; lines: +1 -1 Now gettext 0.12.1 is gettext-old.
v. 1.2 date: 2003/10/23 05:42:47; author: sergei; state: Exp; lines: +1 -1 Change to my @FreeBSD.org address. Approved by: krion
v. 1.1 date: 2003/06/13 23:56:41; author: osa; state: Exp; A getopt(1) replacement that supports GNU-style long options Submitted by: Sergei Kolobov PR: 53174 Approved by: fjoe (implicit) =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm