User Tools

Site Tools


sed:remove_blank_lines_from_a_file

This is an old revision of the document!


SED - Remove blank lines from a file

cat input.txt | sed '/^$/d' > /tmp/output.file

sed/remove_blank_lines_from_a_file.1575975032.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki