Wednesday, February 4, 2009

vi command

1. full text replacement
:1,$s/tom/David/g
from first line to last line, replace tom with David

No comments:

Post a Comment