logo       

Re: how to control path conversion using MSYS?: msg#00043

gnu.mingw.msys

Subject: Re: how to control path conversion using MSYS?

Quoting wolfgang haefelinger <ora.et.labora-S0/GAf8tV78@xxxxxxxxxxxxxxxx>:

Dear colleagues,

I wonder how I can control path conversion when using MSYS.

Here's my particular problem:

I'm compiling a couple of C# files using .NET (2.x). This is
how "csc" gets called within my shell script:

csc [..] u:/src/antlr/ANTLRException.cs


Make a complaint to the creator of csc. There is no reason to force anyone to use


csc [..] u:\\src\\antlr\\ANTLRException.cs



to find the file it needs to open. All of the underlying API supports / delimiters as well as \\ delimiters; so the offender for this !@#$ requirement is csc.

What I'm looking for is something in MSYS that allows me to
control such a translation.


I'll suggest you write a script named csc that will use sed translate / to \\ and pass it on to csc.exe.

Earnie Boyd

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise