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=fPODGn4cOUhU5+th | |
phoCg2nwqCVWrrRZtlsFwwfrZnOlfRe4XDWMy2OoTQtM2OPkd5Vr6+VA1JmLi78U | |
wczw48Nm186YhVRV14EBryxBUKwsx2H/AUo5ZTa1G8/dDmHOWsoZkwDQczNtAY/I | |
tbu7S1NW4wC9X1rnUc0+dZwt9Ec= | |
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=8ro7GG85klXQ2DW3QAc3E/ | |
P7Twg=; b=E/NuJAZaIs25HDLPKIC+dfrj100c3JIkwopK9B02sVJPfefiUnuEdz | |
HB/WyzMzDuabFfEVn0ue+AliJNMnIcB236duc483Gz7rcsnNDdslBu9GC3Hktzaw | |
X8x9DjKyBKpIAdZe3ZBIeWsrGwqlrYhN/VM+ai3+lCvYM/gvAd874= | |
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: | No, score=-1.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,FSL_HELO_BARE_IP_2,KAM_THEBAT,RCVD_IN_BL_SPAMCOP_NET,SPF_SOFTFAIL autolearn=no version=3.3.2 |
X-HELO: | smtpback.ht-systems.ru |
Date: | Sun, 16 Feb 2014 22:38:39 +0400 |
From: | Andrey Repin <anrdaemon AT yandex DOT ru> |
Reply-To: | cygwin AT cygwin DOT com |
Message-ID: | <753683085.20140216223839@yandex.ru> |
To: | Corinna Vinschen <cygwin AT cygwin DOT com> |
Subject: | Re: Little cygpath improvement request |
In-Reply-To: | <20140216151107.GT2246@calimero.vinschen.de> |
References: | <111910987 DOT 20140214222230 AT mtu-net DOT ru> <52FE6397 DOT 5010105 AT cygwin DOT com> <187072112 DOT 20140214234339 AT mtu-net DOT ru> <20140215125606 DOT GM2246 AT calimero DOT vinschen DOT de> <1745533059 DOT 20140215225708 AT mtu-net DOT ru> <20140216120042 DOT GP2246 AT calimero DOT vinschen DOT de> <40596392 DOT 20140216184131 AT yandex DOT ru> <20140216151107 DOT GT2246 AT calimero DOT vinschen DOT de> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Greetings, Corinna Vinschen! >> > I'm getting a bit puzzled. If it's only the message you don't want, >> > then why not just send this message to /dev/null??? >> >> Because the message serves no purpose in every use case I could think about. >> That, aside the fact it needs to create a redirection. >> >> > NATIVE=$(cygpath -ml "$2" 2>/dev/null) > And what's the problem with redirections? > I fail to see the big difference between adding a redirection > compared to adding an option character. I think we're nearing the border of the forest here. (The one that you can't see behind trees.) I understand that you see no problem in doing additional work at creating a redirection, because computers are so powerful nowadays, resources are so plentiful, nobody care... but I, myself, prefer the "it's just works" approach when it comes to program development. Or in other words, "sensible defaults are better, than a lot of options." In this case, I'm in for removing the message AND option as both are redundant. P.S. And it's not the first time I'm fighting the case of expected usage pattern against real-life applications. The message is "generally useful", but such case is from artificial breed of generic cases, that does not survive in the wild. -- WBR, Andrey Repin (anrdaemon AT yandex DOT ru) 16.02.2014, <22:25> 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 |