![]() |
2012-03-15
, 17:02
|
|
Posts: 861 |
Thanked: 936 times |
Joined on Feb 2010
@ Bulgaria
|
#2
|
![]() |
2012-03-15
, 17:06
|
Posts: 62 |
Thanked: 13 times |
Joined on Sep 2010
@ New York City
|
#3
|
![]() |
2012-03-15
, 23:20
|
Posts: 41 |
Thanked: 10 times |
Joined on Dec 2011
|
#4
|
Hi
According to the ministry of communication in my country, All communications companies are changing all mobile numbers by adding a single digit to all numbers and I need a script to edit my contacts cuz I cannot edit them manually , it's impossible
the script should do the following
all numbers begininig with 011 or 014 or 0152 ... another 1 should be added after the first 1 so they become 0111, 0114 , 01152
and all 010, 016, 0151 should be 0100, 0106, 01051
and all 012, 018, 0150 should be 0122, 0128, 01250
can anyone even tell me how to write scripts .. I already have a good background in C/C++ programming
because the deadline is this month !!!! or i wont be able to use the old numbers
Thanks alooot
![]() |
2012-03-16
, 11:54
|
Posts: 27 |
Thanked: 8 times |
Joined on Aug 2010
|
#5
|
I think easiest solution is:
1. Export all contacts.
2. Concatenate all produced .vcf files to one long .vcf file containing all your contacts.
3. Using vi editor(or one of your choice) replace all numbers you want.
4. Re-import the edited multicontact .vcf file in your phonebook.
No need of programming skills and will take 5 minutes.
![]() |
2012-03-16
, 12:00
|
Posts: 27 |
Thanked: 8 times |
Joined on Aug 2010
|
#6
|
So does that mean all the mobile phones in your country will not work at the end of the month ? What country are you in ? What part of the phone number are you referring to ? All new phones allows you edit numbers , unless I'm missing something!
![]() |
2012-03-16
, 12:02
|
Posts: 27 |
Thanked: 8 times |
Joined on Aug 2010
|
#7
|
![]() |
2012-03-16
, 18:57
|
Posts: 62 |
Thanked: 13 times |
Joined on Sep 2010
@ New York City
|
#8
|
you got it all wrong
the first part of all numbers are edited because numbers are increasing and the 7 digit number isnt enough for the increasing mobile phones becides... to unify the first 3 digits for each of the three communication companies (all the first company customers will begin with 010 and the second will be 011 and third will be 012 ..)
anyway there have been many android, BB, iOS and Nokia symbian apps for this issue but noone made an app for N900 :S and I cant edit 500 contacts manually man !!
i.e: all phones in my country will work except mine
![]() |
2012-03-21
, 13:33
|
|
Posts: 861 |
Thanked: 936 times |
Joined on Feb 2010
@ Bulgaria
|
#9
|
TEL;TYPE=CELL:+55512123456
:%s/+55512/+555122/g
![]() |
2014-04-30
, 12:14
|
Posts: 432 |
Thanked: 917 times |
Joined on Jun 2011
|
#10
|
According to the ministry of communication in my country, All communications companies are changing all mobile numbers by adding a single digit to all numbers and I need a script to edit my contacts cuz I cannot edit them manually , it's impossible
the script should do the following
all numbers begininig with 011 or 014 or 0152 ... another 1 should be added after the first 1 so they become 0111, 0114 , 01152
and all 010, 016, 0151 should be 0100, 0106, 01051
and all 012, 018, 0150 should be 0122, 0128, 01250
can anyone even tell me how to write scripts .. I already have a good background in C/C++ programming
because the deadline is this month !!!! or i wont be able to use the old numbers
Thanks alooot