Parse a set of command–line options. The options are handed to user defined functions. The global
array ARGV1
and the global variable ARGC1
must hold the command line arguments and the
number of command line arguments, the global variable ARG1ST
must hold the index of the first
element in ARGV1
that must be parsed. Non–option arguments are left in the global array
ARGV
, the global variable ARGC
holds the number of elements in ARGV
.
If successful return 0
, else return 1
.
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.