Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 3 Sep 2002 18:48:12 +1000 (EST)
From: luke.kendall@cisra.canon.com.au
Subject: Re: How do you write scripts with portable filenames?
To: Max Bowsher <maxb@ukf.net>
Cc: cygwin@cygwin.com
In-Reply-To: <003d01c25325$8cd3a090$0100a8c0@wdg.uk.ibm.com>
MIME-Version: 1.0
Content-Type: TEXT/plain; CHARSET=US-ASCII
Message-Id: <20020903084809.5D71758A0@ivory.research.canon.com.au>

On  3 Sep, Max Bowsher wrote:
>  I _was_ pretty sure that this was supposed to 'just work'. (And it does with mv, 
>  but not with rm). I guess this is a bug. I think you might be at least 
>  temporarily stuck with using `uname` to find out if you are on cygwin, and 
>  setting and using an EXEEXT variable throughout the script. 

The trouble is when the EXEEXT has toi be a whole set, like .exe or .dll
or .sh or .pl or .awk ... you get the idea.

It's great to know that it should just work; for now I can just modify
the specific script that's causing me a problem, and trust that later
on, things will just work.  So in the future it won't be a problem.

(Fingers crossed.)

luke


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

