done
for cardfile in "${_DATA}"/vcard/*.vcf; do
- printf '%s\n' "$cardfile"
- cat "$cardfile"
+ printf '%s\n' "$cardfile" "$(grep -vxE " *${CR}?" "$cardfile")"
done \
| sed -En ':X; /\nEND;?:VCARD\r?$/!{ N; bX; }; h; s;\n.*$;;; x; s;^[^\n]+\n;;;
'"$upcase""$fex"