Search This Blog

Powered By Blogger

Friday, June 17, 2011

Surfing Troves: remove empty line by sed or in vim

Surfing Troves: remove empty line by sed or in vim: "In vim, following the same trick for general sustitution: :%s/ ^[\ \t]*\n // g By sed on the command line: cat orgfile | sed /^$/d"

No comments:

Post a Comment