delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; q=dns; s=default; b=tGrxOM9DDcqtTION | |
jxGBHBevCXvaot0tsE3TyxRnj0KAgOs43CG0yLOIlNGM25Xb7qXAkTmDer0/Fi6Z | |
FjOSqUW5veNDERQV4h2KQ0fmYt9VoQPI6kBAUlBhYgUVZUzMUGIylPbsPYuuvk0m | |
7H2htFM7K6slwHIgQcXgT6Igswg= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:date:from:reply-to:message-id:to:subject | |
:in-reply-to:references:mime-version:content-type | |
:content-transfer-encoding; s=default; bh=VYLcPh5cZ2LtrNHdIshc4P | |
GpR38=; b=RYAf/e1yBhly3flRRpOFkYIGiTajoKhgZDG0zflsxtL39ipbhJHZNy | |
tLO8645O3GOzKUYbUswdUa0mJVclrM+YAUZlCb4HGvroIULpkoCVIpSgC0I3B6oM | |
zK5r6mBEmdc3GhWueOUm5NB3JQ1heBOUernkNhzYJD8y6LlmMIL54= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | Yes, score=6.6 required=5.0 tests=AWL,BAYES_60,DOS_STOCK_BAT,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtp.ht-systems.ru |
Date: | Fri, 19 Jun 2015 13:33:33 +0300 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <23854981.20150619133333@yandex.ru> |
To: | Corinna Vinschen <cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com |
Subject: | Re: Arguments parsing in cygwin executables |
In-Reply-To: | <20150619090148.GT31537@calimero.vinschen.de> |
References: | <CAMSC8GNk-V8qW3jKLOFayN8HRckOWdpwS26rzG_ofH4O3=s=og AT mail DOT gmail DOT com> <20150619084404 DOT GS31537 AT calimero DOT vinschen DOT de> <20150619090148 DOT GT31537 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, Corinna Vinschen! >> > BTW, in CYGWIN=glob mode, curly braces are handled wrongly >> > (c:\cygwin\echo.exe {aa} should return {aa}, not aa; because no , or >> > .. inside {}). >> >> I don't think so. GLOB_BRACE globbing is meant to do brance globbing >> just as csh does. This doesn't require a comma or anything else within >> the braces. Try this in tcsh or even bash. The underlying code is > No, not in bash. I see what you mean. Bash handles that differently > than [t]csh. However, csh is the obvious role model for this behaviour, > so if I had to choose who's right and who's wrong, csh (and thus the > glob original BSD code) is the clear winner. I would also argue that bash handling is wrong. But it is historical, and unlikely to change, I guess. >> (almost) stock FreeBSD code, btw. -- With best regards, Andrey Repin Friday, June 19, 2015 13:32:45 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |