On Tue, 2004-07-13 at 14:34, Jason Holt wrote: > Of course, if I wanted to be pedantic, I could suggest that > you s/:\%s\/\/\/ing/:\%s\/\/\//, since vim reports "trailing characters" if > you :%s///ing. >
By the way, when you're replace string has a lot of '/'s, there is no need to escape them. Instead, try using a different character as your delimiter: s/\/path\/to\/file/\/new\/path/ is equivalent to s:/path/to/file:/new/path: or even s)/path/to/file)/new/path) Casey
signature.asc
Description: This is a digitally signed message part
____________________ BYU Unix Users Group http://uug.byu.edu/ ___________________________________________________________________ List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list
