On Nov 2, 2007 1:10 PM, Christopher H. Laco <[EMAIL PROTECTED]> wrote:
> > C:\Test-Group-0.07\DOCUME~1CLACO~1.OPEocals~1temp~testcmd3076-1og

This is because $logfile gets passed into a HERE document and into a
double-quoted string that gets interpolated.  So all the Windows
backslashes disappear.

If $logfile is passed through quotemeta() before passing to the HERE
document, the problem goes away.

David

Reply via email to