You're viewing a comment by Peteris Krumins and its responses.

February 26, 2009, 09:42

Roman, you're a very sharp guy, always catch all the bugs. Thanks! I am now fixing that mistake.

Anno, thank you for your review. I will not go at this pace, and your mentioned space normalization and tab expansion will be covered in "text conversion and substitution" article.

Kroak, nope, English is not my mother tongue. I am just very passionate about English.

Jake, ehehehe. Your one-liner prints newline before the line. I'll include it in my list! :)

Comment Responses

rveri Permalink
April 25, 2010, 13:05

What about this one: for double spacing: Easy and Cool!!

# perl -pe 's/\n/\n\n/' file


yifang Permalink
September 18, 2012, 20:39

What if there is a double space line already?

Reply To This Comment

(why do I need your e-mail?)

(Your twitter name, if you have one. (I'm @pkrumins, btw.))

Type the first letter of your name: (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.