]> git.plutz.net Git - confetti/commitdiff
bugfix: include listing of newer card files
authorPaul Hänsch <paul@plutz.net>
Wed, 27 Jan 2021 12:14:48 +0000 (13:14 +0100)
committerPaul Hänsch <paul@plutz.net>
Wed, 27 Jan 2021 12:14:48 +0000 (13:14 +0100)
cards/list.sh

index ab67fbd4edefcef625c3980dd003a64e385eb5cc..77c96b00019291f28066e0bf9d6123850ef9b13e 100755 (executable)
@@ -149,7 +149,7 @@ filter_cards(){
     printf '%s\n' "$cardfile"
     cat "$cardfile"
   done \
-  | sed -nE ':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"
 }