Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

clean_up_html_markup_with_tidy_and_perl [2008/12/05 21:39] – created juckinsclean_up_html_markup_with_tidy_and_perl [2008/12/05 21:41] (current) juckins
Line 14: Line 14:
 Make sure to make a backup copy of the file first. Make sure to make a backup copy of the file first.
 +Now remove blank lines from the resulting cleaned-up code using perl:
 +perl -pi -e "s/^\n//" <filename>
clean_up_html_markup_with_tidy_and_perl.1228531192.txt.gz · Last modified: 2008/12/05 21:39 by juckins