Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][tlug] Re: vi: how to insert line breaks?
- Date: Fri, 4 Oct 2002 15:57:47 +0900
- From: smoker <smoker@example.com>
- Subject: [tlug] Re: vi: how to insert line breaks?
- References: <F29nLyuh6frnB1FDSZ20001340e@example.com>
- Organization: smokin'room
On Fri, 04 Oct 2002 15:11:32 +0900 "Jean-Christian Imbeault" <jean_christian@example.com> wrote: > 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, I don't know original ed/vi :-p on Vim :%s/<BR>/<C-V><C-M>/g on nvi-m17n :1,$s/<BR>/<C-V><C-M>/g Control + v , after Control + m and g(lobal) option > > Jc > > _________________________________________________________________ > Chat with friends online, try MSN Messenger: http://messenger.msn.com > -- ------------------------------------------------------- smoker<smoker@example.com> <smoker@example.com> ashtray [http://smokerz.net/~smoker/] smokerz [http://smokerz.net/] smokin'room [http://smokerz.zone.ne.jp/] szproject [http://szproject.sourceforge.jp/] PGPFingerPrint: 7459 3B1F CDFF 1F86 37CA BF8A E106 D26E 3CC6 32C2 -------------------------------------------------------
- References:
- [tlug] vi: how to insert line breaks?
- From: Jean-Christian Imbeault
Home | Main Index | Thread Index
- Prev by Date: [tlug] vi: how to insert line breaks?
- Next by Date: [tlug] Re: vi: how to insert line breaks?
- Previous by thread: [tlug] vi: how to insert line breaks?
- Next by thread: [tlug] Re: vi: how to insert line breaks?
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links