Rgetopt

Rgetopt is a command-line option parsing library for UNIX systems. Currently it has only been tested under Linux. The manual is online.

Distribution

The source for the latest version is rgetopt-0.8.tar.gz.

You can also look at the CVS repository at http://www.chiark.greenend.org.uk/ucgi/~richardk/cvsweb/rgetopt/.

Hacking

See the TODO file in the source. If you modify the documentation then you'll need the somewhat crufty rjkdoc-0.5.tar.gz as well.

Changes

Rgetopt 0.8

Bugs fixed: more sensible handling of systems without regexp library; don't read rc files if privileged; seperate object and source directories now work; build on systems where headers generate GCC warnings.

New features: access() called via a callback so you can substitute euidaccess or whatever.

Other: More tests; internal tidying.

Copyright

Copyright © 1999, 2000, 2003 Richard Kettlewell

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

RJK | Contents