summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-07-08 13:43:55 +0400
committersinanmohd <sinan@firemail.cc>2023-07-08 13:44:06 +0400
commite7ed62a968f5b29d7ee74b57406df758e2bb566f (patch)
treea1cec35e459c7500daa8288b4dcb4f516d0a7fc7
parentf432246cdd3a1a042acdaa0f6696730b98991f41 (diff)
vtoc: print name on first column
useful for simple sorting based on the name, even though the output looks ugly
-rwxr-xr-xbin/vtoc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/vtoc.sh b/bin/vtoc.sh
index 599e6ac..11159d5 100755
--- a/bin/vtoc.sh
+++ b/bin/vtoc.sh
@@ -87,7 +87,7 @@ strings "$vcf" | while read -r line; do
continue
[ -n "$no" ] &&
- printf "%s, %s\n" "$no" "$name"
+ printf "%s, %s\n" "$name" "$no"
;;
'END:VCARD')
nos=