in reply to a simple match and replace script
It sounds like what you want to do is specify that the input record separator be any number of blank lines. Then, for each record, replace the number present with a variable that gets incremented after each paragraph. Finally, output the record, followed by a blank line.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: a simple match and replace script
by Aldebaran (Curate) on Aug 09, 2017 at 02:41 UTC | |
by talexb (Chancellor) on Aug 09, 2017 at 13:33 UTC |