Solutions Log Strip empty (null) lines from a file October 6, 2009 text processingsed sed meets the need; the recipe follows: sed '/^$/d' filename ← Solutions Log