delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/03/05:20:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Tue, 3 Sep 2002 11:20:07 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How do you write scripts with portable filenames?
Message-ID: <20020903112007.X12899@cygbert.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <003d01c25325$8cd3a090$0100a8c0 AT wdg DOT uk DOT ibm DOT com> <20020903084809 DOT 5D71758A0 AT ivory DOT research DOT canon DOT com DOT au>
Mime-Version: 1.0
In-Reply-To: <20020903084809.5D71758A0@ivory.research.canon.com.au>
User-Agent: Mutt/1.3.22.1i

On Tue, Sep 03, 2002 at 06:48:12PM +1000, luke DOT kendall AT cisra DOT canon DOT com DOT au wrote:
> 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.

But that's not the case.  ".exe" is the only special one.  You can
make your live harder if you like, of course.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019