Duke Normandin scripsit:

> I entered a bunch of text, but failed to realize that I needed to
> entered a newline in order to produce a newline. So what I have now,
> is one huge line. I want to break it up into various lines. I'm aware
> of the substitution command, like:
> 
> s/break_here/break_here\n/p
> 
> but the "\n" doesn't work in ed. Is there a way to do this?

Use a literal newline, like this:

s/break_here/break_here
/p
-- 
Go, and never darken my towels again!           John Cowan
        --Rufus T. Firefly                      http://ccil.org/~cowan


_______________________________________________
bug-ed mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to