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 ab67fbd..77c96b0 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"
 }