SUMMARY - RE: vi :s/r

From: Moughan, Laurence <>
Date: Mon Oct 07 2002 - 10:38:45 EDT
Thanks to all who assisted on this;


-----Original Message-----
From: Moughan, Laurence 
Sent: 07 October 2002 12:00
To: ''
Subject: vi :s/r

hi all,

how to search for /XXX  

in /XXX/rest/of/dir/structure in a script

and replace with /newdir/new/XXX/

eg just to change 




in lots of lines of code !

thought that 

:s/XXX/r/newdir/new/XXX  would work

Apparently not due to / being the delimiter in the command.

Any clues ?


This E-mail is from O2. The E-mail and any files
transmitted with it are confidential and may also be privileged and intended
solely for the use of the individual or entity to whom they are addressed.
Any unauthorised direct or indirect dissemination, distribution or copying
of this message and any attachments is strictly prohibited. If you have
received the E-mail in error please notify or 
                  telephone ++ 353 1 6095000.

sunmanagers mailing list
Received on Mon Oct 7 11:41:54 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:56 EST