« Two New VI Commands | Main | Add X-Originating-Ip Header in Postfix »

New VI Command

1,$s/$/xyz/

From a : command line, will append string "xyz" to the end of every line of the current file.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

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.

Powered by
Movable Type 3.34