This is the mail archive of the
mailing list for the Cygwin project.
Re: [ANNOUNCEMENT] Updated: Cygwin 2.2.0-1
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Nicholas Clark <nicholas dot clark at gmail dot com>, cygwin at cygwin dot com
- Date: Thu, 6 Aug 2015 14:30:35 +0300
- Subject: Re: [ANNOUNCEMENT] Updated: Cygwin 2.2.0-1
- Authentication-results: sourceware.org; auth=none
- References: <announce dot 20150803131950 dot GA18878 at calimero dot vinschen dot de> <55BFB64C dot 1010802 at towo dot net> <20150803192940 dot GA19315 at calimero dot vinschen dot de> <loom dot 20150804T094839-714 at post dot gmane dot org> <895515CC-6BB7-41E7-AEA5-30FBBE071153 at etr-usa dot com> <87wpxac2bj dot fsf at Rainer dot invalid> <20150805075435 dot GP17917 at calimero dot vinschen dot de> <1324339149 dot 20150805194114 at yandex dot ru> <CAKNeuBqe_w79RBcC=iRki7kZeDQdBen85kWuPZESO0SCGaCUAQ at mail dot gmail dot com> <897487143 dot 20150806031430 at yandex dot ru> <CAKNeuBqASXv_LC0vJC3F9bVDauQJ-1tWTT5L+to4JbGejyaXrw at mail dot gmail dot com>
- Reply-to: cygwin at cygwin dot com
Greetings, Nicholas Clark!
> You're certainly right that there are nicer ways to write that script.
> My point with the sample script above is that I'm currently using a
> Windows-style HOME path, and it works fine.
If it would stop working, you'll have to o and revisit your mess to pull the
cruft out of the pipes.
> Chances are there are a bunch of other users out there who also use a
> Windows-style HOME path in messy .bat files - I just wanted to
> illuminate that making Windows paths illegal is likely to break a
> whole bunch of users' scripts, and really offers no benefit.
Chances are, they can go and revisit their mess once in a lifetime.
When 1.7.35 came out, I went and dug up every corner of my system to make sure
I no longer have the need for wrappers like yours.
Recently I started to write portable scripts for my private project and I've
replaced Cygwin's /bin/sh (which is in fact bash) with a symlink to /bin/dash.
We'll see how far I can go with it. Already found a number of scripts that
break under strict POSIX shell. None of them Cygwin scripts. Yet.
With best regards,
Thursday, August 6, 2015 14:26:24
Sorry for my terrible english...
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple