in reply to Re: replace multiple newline characters
in thread replace multiple newline characters
Provided your input-file is small enough to be read into memory
Here's one without that constraint:
perl -i.old -ne 'print if /./;' input.txt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: replace multiple newline characters
by haukex (Archbishop) on May 15, 2018 at 09:48 UTC | |
by hippo (Archbishop) on May 15, 2018 at 09:59 UTC | |
by haukex (Archbishop) on May 15, 2018 at 10:07 UTC |