Subject: Re: example needed pls: `cygpath -c <HANDLE>'
From: Brian Dessent <[email-masked]>
To: [email-masked]
Date: Sat, 28 Jun 2003 11:43:15 -0700

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/