|
From: Earnie B. <ea...@us...> - 2006-06-15 21:24:07
|
Quoting Keith Marshall <kei...@us...>: > On Thursday 15 June 2006 11:56 am, Earnie Boyd wrote: >> Quoting Jeremy Bettis <je...@de...>: >> > On Wed, June 14, 2006 7:23 pm, Brendon Costa wrote: >> >> I was wondering if there is an existing way to convert a MSYS >> >> path/filename into a windows path/filename? >> > >> > Since MSYS will rewrite the filenames when it passes them to non-msys >> > programs, you can create a tiny little program that is not an msys >> > program and pass the filenames to it. >> > >> > [program code snipped]... >> >> You don't have to get that fancy. All you need is: >> >> cmd //c echo /foo > > Nice trick, Earnie. I'll be sure to include it in the MinGWiki HOWTO I > plan to write. > > On Thursday 15 June 2006 12:01 pm, Earnie Boyd wrote: >> Quoting Brendon Costa <bc...@av...>: >> > By the way I had a quick look in the FAQ section of the Wiki and did >> > not find any items for this. Maybe it would be worth adding this as a >> > FAQ (Though not sure how "Frequent" this question would be)? >> >> ... As for frequency, you would be the first in a few years (maybe I >> exagerate a bit) to ask; it certainly isn't frequent. > > Hmm. I can recall three or four separate instances, within the past > eighteen months or so, that I've answered this very question. The most > memorable was at the time when I wrote the MSYS_AC_CANONICAL_PATH macro, > for use in the autoconfiscated man package. In that situation, I don't > think the `cmd //c echo /foo' trick would have been suitable, but that > doesn't make it any less useful, nevertheless. > I couldn't really remember and there was a point in time when I just deleted the list mail without reading it. That is why I said that I was probably exagerating. > I do think some sort of MinGWiki write up is justified; I'll attend to > it, when I can find the time. > Time, now there's a commodity worth investing in. ;) Too bad I can't trade for more of it. LOL. Earnie Boyd http://shop.siebunlimited.com |