summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/vtoc.sh (renamed from bin/vtono.sh)6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/vtono.sh b/bin/vtoc.sh
index dd4f8b6..f2be2cb 100755
--- a/bin/vtono.sh
+++ b/bin/vtoc.sh
@@ -23,8 +23,8 @@ no=
vcf=
nos=
-if [ -z "$1" ] \
- || [ "$(file --brief --dereference --mime-type "$1")" != "text/vcard" ]; then
+if [ -z "$1" ] ||
+ [ "$(file --brief --dereference --mime-type "$1")" != "text/vcard" ]; then
die "no or invalid input"
else
vcf="$1"
@@ -69,7 +69,7 @@ strings "$vcf" | while read -r line; do
continue
[ -n "$no" ] &&
- printf "%s : %s\n" "$no" "$name"
+ printf "%s, %s\n" "$no" "$name"
;;
'END:VCARD')
nos=