chead sed to remove empty lines