|
Lines 1-12
Link Here
|
| 1 |
Shell Flags (shFlags) is a library written to greatly simplify the handling of |
1 |
Shell Flags (shFlags) is a library written to greatly simplify the |
| 2 |
command-line flags in Bourne based Unix shell scripts (bash, dash, ksh, sh, |
2 |
handling of command-line flags in Bourne based Unix shell scripts (bash, |
| 3 |
zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.). |
3 |
dash, ksh, sh, zsh) on many Unix OSes (Linux, Solaris, Mac OS X, etc.). |
| 4 |
|
4 |
|
| 5 |
Most shell scripts use getopt for flags processing, but the different versions |
5 |
Most shell scripts use getopt for flags processing, but the different |
| 6 |
of getopt on various OSes make writing portable shell scripts difficult. |
6 |
versions of getopt on various OSes make writing portable shell scripts |
| 7 |
shFlags instead provides an API that doesn't change across shell and OS |
7 |
difficult. shFlags instead provides an API that doesn't change across |
| 8 |
versions so the script writer can be confident that the script will work. |
8 |
shell and OS versions so the script writer can be confident that the |
|
|
9 |
script will work. |
| 9 |
|
10 |
|
| 10 |
shFlags is a port of the google-gflags C++/Python library. |
11 |
shFlags is a port of the google-gflags C++/Python library. |
| 11 |
|
12 |
|
| 12 |
WWW: http://code.google.com/p/shflags/ |
13 |
WWW: http://github.com/kward/shflags |