[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
- [Bug-ed] Global substitutions that insert newlines,
Rob Arthan <=