1,$s/$/xyz/
From a : command line, will append string "xyz" to the end of every line of the current file.
« Two New VI Commands | Main | Add X-Originating-Ip Header in Postfix »
1,$s/$/xyz/
From a : command line, will append string "xyz" to the end of every line of the current file.
This page contains a single entry from the blog posted on June 5, 2007 1:06 PM.
The previous post in this blog was Two New VI Commands.
The next post in this blog is Add X-Originating-Ip Header in Postfix.
Many more can be found on the main index page or by looking through the archives.