This is the mail archive of the
mailing list for the Cygwin project.
Re: ash missing 'getopts' builtin
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 19 May 2003 17:20:16 +0200
- Subject: Re: ash missing 'getopts' builtin
- References: <20030519081134.B19452@ns.helixdigital.com>
- Reply-to: cygwin at cygwin dot com
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 mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html