vi editing

gahn ipfreak at yahoo.com
Fri Jan 15 16:04:34 UTC 2010


Hi gurus:

I am trying to add a word on every line (right in front of every line) via vi. Right now I have:

xxxxxxxxx
xxxxxxxxx
xxxxxxxxx

after that, I want to have:

"new word" xxxxxxxxx
"new word" xxxxxxxxx
"new word" xxxxxxxxx

How could I do that with vi?


      


More information about the freebsd-questions mailing list