This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do you write scripts with portable filenames?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]