projects
/
confetti
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb30c96
)
fix: print tel without teltype
author
Paul Hänsch
<paul@plutz.net>
Fri, 5 Feb 2021 01:52:08 +0000
(
02:52
+0100)
committer
Paul Hänsch
<paul@plutz.net>
Fri, 5 Feb 2021 01:52:08 +0000
(
02:52
+0100)
cards/export_csv.sh
patch
|
blob
|
history
diff --git
a/cards/export_csv.sh
b/cards/export_csv.sh
index
6f17d1f
..
9ba8993
100755
(executable)
--- a/
cards/export_csv.sh
+++ b/
cards/export_csv.sh
@@
-29,7
+29,7
@@
list_item() {
ttype="$(pdi_attrib "$card" "$item" "$n" TYPE)"
if [ "$tel" -a "$ttype" ]; then
printf '%s: %s\n' "$(l10n "TYPE=$ttype")" "$tel"
- elif [ "$tel"
-a "$ttype"
]; then
+ elif [ "$tel" ]; then
printf '%s\n' "$tel"
fi
;;