s/break_here/break_here\n/p

    but the "\n" doesn't work in ed. Is there a way to do this?

Escape a literal newline with \.  

s/break_here/break_here\
/p

See the description of the "s" command in the manual.

However, I think what I would actually do in your situation is run fmt
on the text :).

All the best,
Karl


_______________________________________________
bug-ed mailing list
bug-ed@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-ed

Reply via email to