rubysecurity.org

Anecdotes from a Linux Systems Administrator. /root

Home About Books Blog Portfolio Archive
17 December 2011

Removing blank lines in a text file

by Alpha01

sed '/^$/d' example_file
Tags: [ bash ]