X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=cards%2Fexport_csv.sh;h=9ba8993372a239b197f50419d8ecfae61406ca98;hp=6f17d1f404e4cb8e442eea62f5361b6e1e9c3f7f;hb=HEAD;hpb=fb30c96d53c0da5ef0c40bf44341d1f9a6ebec0e diff --git a/cards/export_csv.sh b/cards/export_csv.sh index 6f17d1f..b566c03 100755 --- a/cards/export_csv.sh +++ b/cards/export_csv.sh @@ -4,8 +4,6 @@ . $_EXEC/cards/l10n.sh . $_EXEC/cards/list.sh -upcase=' y;abcdefghijklmnopqrstuvwxyzäöüé;ABCDEFGHIJKLMNOPQRSTUVWXYZÄÖÜÉ;; ' - filter="$(GET f)" order="$(GET o)" @@ -29,7 +27,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 ;;