diff options
Diffstat (limited to 'bin/vtoc.sh')
-rwxr-xr-x | bin/vtoc.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/vtoc.sh b/bin/vtoc.sh index f2be2cb..fc69122 100755 --- a/bin/vtoc.sh +++ b/bin/vtoc.sh @@ -35,6 +35,11 @@ strings "$vcf" | while read -r line; do case "$line" in 'FN:'*) name="${line##*:}" + case "$name" in + *,*) + name="$(printf "%s" "$name" | tr -d ',')" + ;; + esac ;; 'TEL;TYPE='*':'*) # avoid repetitions in same vacrd entry |