Delete all blank lines and save into the file itself
In all files called *.html, delete all blank lines and save into the file itself (-i option):
for f in *.html; do sed -i '/^ *$/d' $f; done
A chronological documentation test project, nothing serious, really!
In all files called *.html, delete all blank lines and save into the file itself (-i option):
for f in *.html; do sed -i '/^ *$/d' $f; done