>How about providing the code that you are working with?
>
>This ought to work:
>s/C:\\Dir 1\\Dir 2\\Dir with more spaces/replacement/
>
>__CODE__
>$in = 'C:\Dir 1\Dir 2\Dir with more spaces'; $in =~ s/C:\\Dir 1\\Dir
>2\\Dir with more spaces/replacement/; print "$in\n"; __OUTPUT__
>replacement

I had not even got the Perl side of the program that deals with this yet as I 
started at the console with Sed knowing once I got that right I could use it in 
Perl.

You already jogged me in the right direction, on some unrelated sample data:
sed 's#c:\\data\\fw791.2007_1102.18#c:\\data\\Copy of fw791.2007_1102.18#'Ig 
db.xml output the correct looking data to screen.

Don't I need the hash symbols?

Thanks!
jlc

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to