Remove empty lines
Remove empty lines using sed
and a regular expression on a file.
^
beginning of line^$
end of line/d
means delete
$ sed -e '/^$/d' somefile
Remove empty lines using sed
and a regular expression on a file.
^
beginning of line^$
end of line/d
means delete$ sed -e '/^$/d' somefile