Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Message-ID: <732AC39DA54C1C4FBCBCC2F853D3AB816D16F9@athensgroup-pc9.athensgroup.com> From: "Garrison, Jim" To: "'cygwin@cygwin.com'" Subject: Strange cygpath/Perl 5.8 interaction? Date: Wed, 3 Sep 2003 15:13:01 -0500 MIME-Version: 1.0 Content-Type: text/plain In bash: $ echo "\"`cygpath -w /c/temp`\"" "c:\temp" But in Perl: $a = `cygpath -w /c/temp`; print "|$a|"; produces |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? Jim Garrison jhg@athensgroup.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/