| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <3FEFDE5B.3000801@helixdigital.com> |
| Date: | Sun, 28 Dec 2003 23:57:15 -0800 |
| From: | Dario Alcocer <alcocer AT helixdigital DOT com> |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031007 |
| MIME-Version: | 1.0 |
| To: | Peter Seebach <seebs AT plethora DOT net> |
| Cc: | cygwin AT cygwin DOT com |
| Subject: | Re: Question about ash and getopts |
| References: | <200312290512 DOT hBT5C5qd004034 AT guild DOT plethora DOT net> |
| In-Reply-To: | <200312290512.hBT5C5qd004034@guild.plethora.net> |
| X-IsSubscribed: | yes |
Peter Seebach wrote:
>I know this is a pseudo-FAQ, but I haven't been able to find a clear enough
>answer in the archives.
>
>1. Is it not the case that POSIX provides a specification for the getopts
>builtin?
>2. Doesn't ash, as originally written, implement getopts?
>
>I'm trying to figure out why this feature was removed, and I've never gotten
>an answer that made much sense. Every other POSIX-like system I can think
>of supports getopts in /bin/sh. Why is Cygwin different?
>
>
Use the "set -- `getopt`" idiom instead:
http://cygwin.com/ml/cygwin/2003-05/msg01114.html
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |