Removing blank lines in a buffer by Mickey Petersen.
I was mining Twitter addresses from list embedded in HTML markup in Emacs (great way to practice regexes) and as a result, had lots of blank lines. Before running sort
or uniq
, I wanted to remove the blank lines.
All of Mickey’s posts are great resources but I found this one particularly helpful.