Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] vi: how to insert line breaks?



I've searched ed/vi docs but can't find ...

How can I go a global search and replace in ed/vi to insert a line break? 
I'm trying to do this for an HTML file, but I'd like to know how to do it in 
general.

I've tried:

s/<br>/\\n/g

But all that does is put a literal "/n", not a line break ...

Thanks,

Jc

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links