Quantas operadoras móveis existem em todo o mundo?
Vamos ver. Muitas delas (todas?) estão listadas aqui: A lista mais atualizada de códigos MCC e MNC: códigos de países móveisEsta é uma página HTML, mas pode-se fazer um pouco de mágica de linha de comando para cortar e cortar os dados:
- $ curl http://www.mcc-mnc.com/ | \
- perl -nle 'print "$1\t$2\t$3\t$4\t$5\t$6" if /(\d+)<\/td>(\d+)<\/td>(.+)<\/td>(.*)<\/td>(\d*)<\/td>(.*)<\/td><\/tr>/' \
- > list_mno.tsv
- # cheated a bit. Also added the first line with headers manually
- $ head list_mno.tsv
- mcc mnc iso Country Country Code MNO
- 289 88 ge Abkhazia 7 A-Mobile
- 289 68 ge Abkhazia 7 A-Mobile
- 289 67 ge Abkhazia 7 Aquafon
- 412 88 af Afghanistan 93 Afghan Telecom Corp. (AT)
- 412 80 af Afghanistan 93 Afghan Telecom Corp. (AT)
- 412 01 af Afghanistan 93 Afghan Wireless/AWCC
- 412 40 af Afghanistan 93 Areeba/MTN
- 412 30 af Afghanistan 93 Etisalat
- 412 50 af Afghanistan 93 Etisalat
- $ tail list_mno.tsv
- 421 04 ye Yemen 967 HITS/Y Unitel
- 421 02 ye Yemen 967 MTN/Spacetel
- 421 01 ye Yemen 967 Sabaphone
- 421 03 ye Yemen 967 Yemen Mob. CDMA
- 645 03 zm Zambia 260 Zamtel/Cell Z/MTS
- 645 02 zm Zambia 260 MTN/Telecel
- 645 01 zm Zambia 260 Airtel/Zain/Celtel
- 648 04 zw Zimbabwe 263 Econet
- 648 01 zw Zimbabwe 263 Net One
- 648 03 zw Zimbabwe 263 Telecel
1025 MNOs
- $ cut -f6 list_mno.tsv | sort | uniq | wc -l
- 1029
- #the Awk part trims extra space (saw the problem with the Vodafones
- $ cut -f6 list_mno.tsv | sort | awk '{$1=$1};1' | uniq | wc -l
- 1025
- #20 random MNO names
- $ cut -f6 list_mno.tsv | sort | uniq | shuf | head -20
- Telenor/Mobtel
- Barakhamba Sales & Serv.
- ICE
- Tismi
- LG Telecom
- H3G
- Orange
- Glo Mobile
- Cambridge Telephone Company Inc.
- Play/P4
- CTS Mobile
- Movilnet C.A.
- Datastream (DTSCom)
- Nokia Oyj
- Spring Mobil AB
- Vodafone/Mirsfone
- Tele2 Sverige AB
- International Telecom Co. Ltd (FITEL)
- Vodacom Ltd
226 MCC codes and 225 countries
- $ cut -f1 list_mno.tsv | sort | uniq | wc -l
- 226
- $ cut -f4 list_mno.tsv | sort | uniq | wc -l
- 225
1686 Carrier + code combinations
- $ cut -f1,2 list_mno.tsv | sort | uniq | wc -l
- 1686
MVNOs are a different discussion because there are many different kinds of MVNO, including many that are simply sub-brands of regular MNOs.