On Tue, 13 Jul 2004, Daniel Crookston wrote:

> When :%s///ing in vi... do <'s or >'s need to be \ed, and how do you (*.)?

First off, I think you need to s/\(\*\.\)\?/\(\*\.\)\?/, in which case I think
vim !~ non-greediness.  And no, :%s/\</./ isn't necessary in vim; :%s/</./
should be fine.  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.

And people say the folks on the UUG aren't helpful.

                                        -J


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to