This is the mail archive of the
mailing list for the Cygwin project.
Re: Path conversion issue
On Tue, Aug 17, 2010 at 5:18 AM, Larry Hall (Cygwin) wrote:
> On 8/16/2010 10:03 PM, Andrey Repin wrote:
>> diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr --
>> diff: \REMOTE\C$\...\php-tools\GalleryClass.php: No such file or directory
>> Why it ate the leading backslash?
> '\' is a escape character for Cygwin just the way it is in UNIX/Linux.
> You either need to escape it or, better yet, use forward slashes.
Or protect the backslashes: use single quotes
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple