seq 1 $cnt |while read n; do case $item in
TEL)
tel="$(pdi_value "$card" "$item" "$n" |unescape)"
- [ "$tel" ] && printf '%s: %s\n' "$(l10n "TYPE=$(pdi_attrib "$card" "$item" "$n" TYPE)")" "$tel"
+ 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
+ printf '%s\n' "$tel"
+ fi
;;
GENDER)
gen="$(pdi_value "$card" "$item" "$n" |unescape)"