linux:sed:remove_all_blank_lines_from_a_file
This is an old revision of the document!
Linux - SED - Remove all blank lines from a file
cat input.txt | sed '/^$/d' > /tmp/output.file
linux/sed/remove_all_blank_lines_from_a_file.1575974586.txt.gz · Last modified: 2020/07/15 09:30 (external edit)