Using sed to delete empty lines Posted on 24. April 200718. October 2012 by Hans-Henry Jakobsen sed '/^$/d' input-file Share this:FacebookX