Gleaning on the Westward Journey
Search This Blog
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment