This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ash missing 'getopts' builtin


On Mon, May 19, 2003 at 08:57:41AM -0700, Dario Alcocer wrote:
> In fact, I'd say that getopts is almost necessary for scripting,
> because its inclusion allows scripts to be on an equal footing with
> compiled programs, in that both can accept command line options. This
> means I can write small programs as shell scripts instead of as a
> compiled program; this is entirely consistent with traditional Unix
> programming philosophy, which encourages the use of shell scripts for
> small programs.

There is that problem left that getopts isn't quite "plain old sh".
It's a System V extension while earlier version only had getopt
(which is available as external command).

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]