This is the mail archive of the
mailing list for the Cygwin project.
Strange cygpath/Perl 5.8 interaction?
- From: "Garrison, Jim" <jim dot garrison at athensgroup dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Wed, 3 Sep 2003 15:13:01 -0500
- Subject: Strange cygpath/Perl 5.8 interaction?
$ echo "\"`cygpath -w /c/temp`\""
But in Perl:
$a = `cygpath -w /c/temp`;
I.e., Perl sees an extra \n at the end of the string. I looked at
the source for cygpath and it doesn't seem to be adding a \n, so
I suspect the problem is an unforeseen interaction between Cygwin
and Perl's backtick operator. Can anyone shed light on this topic?
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html