.\" arg_parse.3: to format, run through tbl and troff -man .\"
$Header: /gourd/usr2/ph/sys/libsys/RCS/arg_parse.3,v 4.2
94/08/03 21:20:58 ph Exp Locker: ph $ .\" a few macros .de Cs \"
code start .DS .ps 9 .vs 11p .ft C .ta
9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n,+9n .. .de Ce \"
code end .ft R .ps 10 .vs 12p .DE .fi .. .de DS .nf .in +4n .sp
.5v .. .de DE .sp .5v .in -4n .fi .. .TH ARG_PARSE 3 "23 April
1988" .po 1i .SH NAME arg_parse \- parse arguments to a command
.SH SYNOPSIS .nf #include \fBarg_parse\fP(argc, argv,
[formatstr, paramptrs, docstr, docparams]*, 0) int argc; char
**argv, *formatstr, *docstr; double \fBexpr_eval\fP(str) char
*str; .fi .SH DESCRIPTION \fIarg_parse\fP is a subroutine for
parsing and conversion of command-line arguments. This parser is
an alternative to the common method of argument parsing, which
is an ad-hoc parser in each program, typically written with a
large, cumbersome switch statement. \fIarg_parse\fP allows a
command-line parser to be described very concisely whi