Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <3EFDE1C3.EE42943B@dessent.net> Date: Sat, 28 Jun 2003 11:43:15 -0700 From: Brian Dessent Organization: My own little world... X-Accept-Language: en,pdf MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: example needed pls: `cygpath -c ' References: <3EFDDF97 DOT 29F49125 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Brian Dessent wrote: > my $foo = quotemeta($MS_path_filename); > chomp (my $cygpath = chomp `cygpath -u $foo`); > # now $cygpath should be usable Whoops, that second line should be: chomp (my $cygpath = `cygpath -u $foo`); I sure wish you could just do something like `"cygpath -u" . quotemeta($path)` or qr{cygpath -u quotemeta($path)} but neither of these is valid, so you have to create a temp variable first. Brian -- 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/