commit d1aa313b9b72c654a29c5d5dc371c72bae5426b4 from: Aleksey Ryndin date: Tue May 30 14:21:56 2023 UTC Add: example use case commit - 0a28168ca9e71020fde1dbc2b8af7526f0407e1b commit + d1aa313b9b72c654a29c5d5dc371c72bae5426b4 blob - 00c2e87aa6239decda6278fd99b084fc758a81a3 blob + 797a35624d8d73d2519305bb1bc262959fbdd944 --- vcf2tsv.awk +++ vcf2tsv.awk @@ -1,3 +1,6 @@ +# Convert contacts.vcf (expoter 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 }