Article View: bit.listserv.xedit-l
Article #79How to insert a line break using c/ ?
From: D. Citron
Date: Sun, 15 Dec 1996 00:00
Date: Sun, 15 Dec 1996 00:00
30 lines
1485 bytes
1485 bytes
This question applies to XEDIT and KEDIT. I use both. So it may require
two different replies.
I want to do a change in which I replace a string with a line break
followed by the same string. For example:
c/<P>/<P>somecode/**
In which "somecode" would insert a line break in the file, so that this:
<P>Fourscore and seven years ago...
...would become this:
<P>
Fourscore and seven years ago...
Simple, huh? But can it be done. I'm sick of using the split command over
and over.
======================================================================
* David H. Citron * Tech Writer/Journalist/Copywriter/Web Author *
* a/k/a the CyberCurmudgeon syndicated columnist *
* e-mail: dcitron@univox.com *
CyberCurmudgeon Archive ** http://www.univox.com/writer/archive.html
======================================================================
"A word can have many meanings, but means nothing
until it is shared." ...BellSouth TV Commercial
======================================================================
Technical Details
Message-ID:
<5902bb$12ss@dakota.gate.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c92b,b329e359799ae08f,start X-Google-Attributes: gid10c92b,public From: dcitron@gate.net (D. Citron) Subject: How to insert a line break using c/ ? Date: 1996/12/15 Message-ID: <5902bb$12ss@dakota.gate.net> X-Deja-AN: 204208156 organization: CyberGate, Inc. newsgroups: bit.listserv.xedit-l