Skip to content
Kate Ward edited this page Aug 17, 2017 · 15 revisions

Welcome to the shFlags wiki!

shFlags is a port of the Google gflags library for Unix shell. The code is written in a way to be as portable as possible to work across a wide array of Unix variants. It is also tested with shUnit2 to maintain code quality.

If you'd like to get started with shFlags, feel free to read the documentation.

Overview

shFlags is a Unix shell library to simplify the handling of command-line flags.

Tested Operating Systems

Tested Shells

Command Description
ash Ash (BusyBox ash shell)
bash BASH (GNU Bourne Again SHell)
dash DASH
ksh Korn Shell
pdksh pdksh (the Public Domain Korn Shell)
sh Bourne Shell
zsh Zsh

Development and testing of shFlags was done by Kate Ward. See http://forestent.com/ for more info.

Downloading

Recent releases

Recent releases are available at https://github.com/kward/shflags/releases.

The most recent code is always available on GitHub.

Release Date
1.2.0 Sat Jan 10 2016
1.0.3 Sat May 10 2009

All releases

The 1.0.x and 1.2.x release series are stable releases. The 1.1.x (skipped) and 1.3.x (future) release series are development releases.

Release Date
1.2.0 Sat Jan 10 2016
1.0.3 Sat May 10 2009
1.0.2 Mon Nov 17 2008
1.0.1 Fri Jul 11 2008
1.0.0 Wed Jun 18 2008

Miscellaneous

Licensing

shFlags is licensed under Apache v2.0. The contents and copyright of this site and all provided source code are owned by Kate Ward.

Full disclosure

Although I am currently an employee of Google Switzerland, the shflags port of gflags is not meant to reflect in any way on the work I do for Google, nor is this a work product of Google. This software is not supported or endorsed by Google, and they should not be contacted for any problems you encounter with this product.

Thanks

A list of contributors is provided with each release (found as doc/contributors.txt). Many thanks go out to each of these individuals for finding bugs and/or providing support or patches.

Clone this wiki locally