Peter P. Benac wrote:

I have been using Emacs for almost 20 years. Is there any other editor :)

:s/old stuff/newstuff/g   only works if you only have one instance of "old
stuff" per line!!


Huuuu?


What you talking about Willis?

:s/old stuff/newstuff/g will replace ALL instances of old stuff with new stuff on the current line, not just one instance.

:1,$ s/old stuff/newstuff/g will replace all instances of old stuff with newstuff in the entire file.

Flame war ON!

heh.

Regards,

Rick




------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to