You're viewing a comment by Michael and its responses.

Michael Permalink
December 02, 2011, 19:15

Thanks Peter,

A different use of markers for the beginning and end of line are backslash A and backslash Z \A\Z.
I also like to use perl one liners inside a VI session like this : % ! perl -pe 's/foo/bar/'
The : inside VI puts the editor into command line mode, the % says for every line in the file, the ! says run the following in the shell. The perl program runs on every line making the edit.

Reply To This Comment

(why do I need your e-mail?)

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

Type the word "antispam_127": (just to make sure you're a human)

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