Hi:
How can I remove empty lines from a file using ed or edit?
For example, I'd like to convert file A to B using and editor:
File A:
evaluate ($min=2.2)
evaluate ($max=4.0)
evaluate ($peak=1.5)
evaluate ($npeaks=400)
File B:
evaluate ($min=2.2)
evaluate ($max=4.0)
evaluate ($peak=1.5)
evaluate ($npeaks=400)
Note: 's/^$//g' does not work.
----------------------
Sirano Dhe-Paganon
Joslin Diabetes Center
Harvard Medical School
One Joslin Place
Boston, MA 02215
Tel 617-735-1934