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