]> git.plutz.net Git - confetti/blobdiff - cards/list.sh
single label for seed input
[confetti] / cards / list.sh
index 421ff3a4a51d3eaef3577a36e9eb7f1c82ba73b7..77c96b00019291f28066e0bf9d6123850ef9b13e 100755 (executable)
@@ -149,7 +149,7 @@ filter_cards(){
     printf '%s\n' "$cardfile"
     cat "$cardfile"
   done \
-  | sed -En ':X; /\nEND:VCARD\r?$/!{ N; bX; }; h; s;\n.*$;;; x; s;^[^\n]+\n;;;
+  | sed -nE ':X; /\nEND\;?:VCARD\r?$/!{ N; bX; }; h; s;\n.*$;;; x; s;^[^\n]+\n;;;
              '"$upcase""$fex"
 }