[PLUG] Sed problems

Brian Derr bderr at myrealbox.com
Sun Sep 11 13:51:25 UTC 2005


Hey folks, I ran across this on another mailing list and thought I'd
give it a try here.  When trying to delete blank lines from an .html
file the syntax would appear to be `sed '/^$/d' file.html > new.html`,
no?  Why doesn't it work?  When run on a random HTML file it does not
remove a single blank line.  Any ideas how to get sed to cooperate?
-- 
Brian

The just man walketh in his integrity: his children are blessed after
him.  -- Proverbs 20:7




More information about the PLUG mailing list