Using sed, how can I delete all blank lines?
Posted
by
Steve
on Super User
See other posts from Super User
or by Steve
Published on 2012-10-08T20:57:51Z
Indexed on
2012/10/08
21:40 UTC
Read the original article
Hit count: 277
linux
|unix-programming
Using sed, how can I delete all blank lines?
Input file:
Steve Blenheim:238-923-7366:95 Latham Lane, Easton, PA 83755:11/12/56:20300
Betty Boop:245-836-8357:635 Cutesy Lane, Hollywood, CA 91464:6/23/23:14500
Igor Chevsky:385-375-8395:3567 Populus Place, Caldwell, NJ 23875:6/18/68:23400
Norma Corder:397-857-2735:74 Pine Street, Dearborn, MI 23874:3/28/45:245500
Jennifer Cowan:548-834-2348:583 Laurel Ave., Kingsville, TX 83745:10/1/35:58900
© Super User or respective owner