bug-ed
[Top][All Lists]
Advanced

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

[Bug-ed] Global substitutions that insert newlines


From: Rob Arthan
Subject: [Bug-ed] Global substitutions that insert newlines
Date: Tue, 2 Oct 2018 20:55:56 +0100

I have a script that uses ed to generate C string definitions from nroff output.
It makes essential use of global substitutions with a newline as the 
replacement text, e.g.,

g/^##*/s/#*/\
/

This functionality is no longer available as of version 1.14 of GNU ed. Is there
a work-around for this?

Regards,

Rob


reply via email to

[Prev in Thread] Current Thread [Next in Thread]