From: frodol@dds.nl
Subject: getopt-1.0: A drop-in replacement for getopt(1)
Date: Thu, 7 May 1998 11:28:04 GMT
-----BEGIN PGP SIGNED MESSAGE-----
This is an announcement of the first public release of my version of
getopt(1), a program to help shell scripts parse command-line
parameters. It is fully compatible with the version included in the
util-linux distribution, but can do a lot more.
Highlights:
* 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.
* It can function as a drop-in for other getopt(1) implementations,
enhancing the functionality without the need of changing a single line.
* It can be made 100% compatible with other getopt(1) implementations
by setting a shell variable.
* It is tested with bash and tcsh, and should function with most if not
all other schell script languages.
The LSM entry follows. It is uploaded to sunsite and should appear in
the indicated directory one of these days.
Begin3
Title: Getopt
Version: 1.0
Entered-date: Tue May 5 1998
Description: An improved implementation of getopt(1), a program to parse
options within a shell script. Fully compatible with other
getopt(1) implementations, but with many additions like
long options and mixing of options and parameters.
Keywords: getopt script parse bash tcsh
Author: frodol@dds.nl (Frodo Looijaard)
Primary-site: http://huizen.dds.nl/~frodol
28kB getopt-1.0.tar.gz
600 getopt-1.0.lsm
Alternate-site: sunsite.unc.edu /pub/Linux/utils/shell
28kB getopt-1.0.tar.gz
600 getopt-1.0.lsm
Copying-policy: GPL
End
- --
Frodo Looijaard <frodol@dds.nl>
Find my PGP public key and more at http://huizen.dds.nl/~frodol/
Updated: a guide for installing glibc-2 as an additional target under Linux
- --
This article has been digitally signed by the moderator, using PGP.
http://www.iki.fi/mjr/cola-public-key.asc has PGP key for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.
This group is archived at http://www.iki.fi/mjr/linux/cola.html
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
iQCVAgUBNVGaxFrUI/eHXJZ5AQFrRgP9GSSZolXv1L+Cv4VJ7vJltrDywS9kph4I
uNpUQxkkL/aP5Pe1J9hkyiM0duGAuvzxeyc0CtqZ4nSh6awJ4EeECUvBgeJK8EhS
DPzdIuNb3zXg7Q7MZvObWhAiDDW8Cmt5BAQPUwh4NBDPPk3skFb719znI2crJsYK
D4OQh7/7XPA=
=jpYu
-----END PGP SIGNATURE-----