Blob
1 # Convert contacts.vcf (exporter from Android) to2 # [contacts.tsv](https://man.sr.ht/~anjan/sxmo-docs/USERGUIDE.md#stronggeneral-settingsstrong):3 # python3 -m quopri -d contacts.vcf | awk -f vcf2tsv.awk > contacts.tsv4 BEGIN { FS = ":" }5 /^BEGIN:VCARD/ { fn = "?"; telc = 0; delete telv }6 /^TEL[:;]/ { telv[telc++] = $2 }7 /^FN[:;]/ { fn = $2 }8 /^END:VCARD/ { for ( i = 0; i < telc; i++ ) printf "%s\t\t%s\n", telv[i], fn }