www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Fri, 14 Sep 2007 09:15:14 +0000 (UTC) |
From: | Thorsten Glaser <tg AT mirbsd DOT de> |
To: | Jari Aalto <jari DOT aalto AT cante DOT net> |
cc: | Kenneth Stephen <marvin DOT the DOT cynical DOT robot AT gmail DOT com>, |
Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>, cygwin AT cygwin DOT com | |
Subject: | Re: Cygwin-bug#20070914T0555: mksh getop bug |
In-Reply-To: | <ejh1ss56.fsf@blue.sea.net> |
Message-ID: | <Pine.BSM.4.64L.0709140913050.28545@odem.66h.42h.de> |
References: | <ejh1ss56 DOT fsf AT blue DOT sea DOT net> |
X-Message-Flag: | Your mailer is broken. Get an update at http://www.washington.edu/pine/getpine/pcpine.html for free. |
MIME-Version: | 1.0 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
X-MIME-Autoconverted: | from QUOTED-PRINTABLE to 8bit by delorie.com id l8E9L4Js019484 |
Jari Aalto dixit: >I've ported mksh to Cygwin and we're considerign including it in the >distributions. Thanks, that’s great. Could you let me have a look at that, just out of interest, as I haven’t really understood the Cygwin packaging process myself, otherwise I had submitted one earlier. >The Cygwin users have found following bug in pdkdh's getopt handling, >which is also present in mksh. Could you take a look: > > http://cygwin.com/ml/cygwin/2005-01/msg00073.html This is not a bug in the shell, but rather in the script. You must either use OPTIND=1 together with shift, to reset option processing, as per the manual page, or just not use shift at all. bye, //mirabilos -- I believe no one can invent an algorithm. One just happens to hit upon it when God enlightens him. Or only God invents algorithms, we merely copy them. If you don't believe in God, just consider God as Nature if you won't deny existence. -- Coywolf Qi Hunt -- 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 |