View Single Post
zlatko's Avatar
Posts: 861 | Thanked: 936 times | Joined on Feb 2010 @ Bulgaria
#9
@sensortk
vi editor is text editor with text ui. Very powerful and widely used on *nix OS.
It is very simle to do such substitutions once you have learned it. Here is an example. Let suppose the number you want to change is: +555 012 123 456 In .vcf line with that mobile number looks like this:
Code:
 TEL;TYPE=CELL:+55512123456
In it if you want to convert all numbers starting with (0)12 to (0)122 you use this command:
Code:
:%s/+55512/+555122/g
This will substitute all occurrences of "+55512" to "+55122", will take you like 1 minute.
You have to do this for all codes you want to change.