User Tools

Site Tools


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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki