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: cygwinized XSL processor? (or sed for path transform?)


On Tue, 11 Mar 2003, Tom Roche wrote:
>> my script does a lot of path translations like

>> cygpath="/g/eclipse/builds/foo"
>> winpath="g:\\eclipse\\builds\\foo"

>> and it doesn't iterate over the paths. (Not a big deal, but it
>> offends my software aesthetics :-)

Igor Pechtchanski Tue, 11 Mar 2003 17:57:49 -0500 (EST)
> I suspect the "-p" and "-f" options to cygpath might be of some help
> to you.

No, but "cygpath -a" is a great help! I can iterate over the windows
paths, and get the cygwin paths from them with `cygpath -a $winpath`.
Thanks for the suggestion!


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