This is the mail archive of the 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:11:34AM -0700, Dario Alcocer wrote:
> I'm not sure if this was intentional or not (being that /bin/sh is
> probably used by autoconf configure scripts), but ash is missing the
> 'getopts' built-in command. The manual page documents it, but the
> command isn't actually compiled in.
> Patch file is attached; for commands that are meant to be excluded, I've
> commented them out instead of using the '-j' flag (supposed to make job
> control commands.)

Thanks but that's not how ash is supposed to be used.  Ash as part of
the Cygwin distro is "code-minimized" under the assumption that it's
*only* used for shell scripts using most plain bourne syntax (autoconf
is actually one example) and that it's good to have a shell which is
running fast since it doesn't have to care for the user interface.  

So, ash is compiled under Cygwin with job control disabled, with a few
options missing to the `read command' etc.  If you actually need all
these stuff, please use bash, not ash.


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                      
Red Hat, Inc.

Unsubscribe info:
Problem reports:

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