Long options and |libast::optget()| ... / was: Re: 2009/228 ls enhancements
Roland Mainz
roland.mainz at nrubsig.org
Wed May 6 19:07:37 PDT 2009
James Carlson wrote:
> Glenn Fowler writes:
[snip]
> > a bonus is that ksh93 uses optget() to implement getopts
> > so shell scripts are not second class citizens w.r.t. long options
> > and since the options desc ription is one 0-terminated string
> > instead of a C-data-struct the description can be moved
> > freely between script<=>C-source implementations
>
> Since this is going in ON, I think the implementor is free to choose
> among the getopt_* family and the ksh93 optget() functions as he sees
> fit.
Erm... note that this is not ksh93 Glenn was thinking about - it's
|libast::optget()| which has this additional functionality...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 3992797
(;O/ \/ \O;)
More information about the opensolaris-arc
mailing list