Tuesday, June 03, 2003

Another note for vi. To make a replica for the search pattern
:line1:line2s/\(.*\)/\1append/g
A note for vi. To append text in vi here is the command
:line1:line2s/$/text to append/g
and use ^ if text is to be appended before.