]> granicus.if.org Git - file/commitdiff
new vcard magic (Joerg Jenderek)
authorChristos Zoulas <christos@zoulas.com>
Wed, 15 Apr 2015 18:29:30 +0000 (18:29 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 15 Apr 2015 18:29:30 +0000 (18:29 +0000)
magic/Magdir/misctools

index 0f793441fb1d8d183d7d6e80b2227ca6bb5a60f8..7fdd2517e0fd9b0c65dee1ad95c00c76d85a655b 100644 (file)
@@ -1,13 +1,22 @@
 
 #-----------------------------------------------------------------------------
-# $File: misctools,v 1.13 2013/01/16 13:53:10 christos Exp $
+# $File: misctools,v 1.14 2014/03/06 16:08:58 christos Exp $
 # misctools:  file(1) magic for miscellaneous UNIX tools.
 #
 0      search/1        %%!!                    X-Post-It-Note text
 0      string/c        BEGIN:VCALENDAR         vCalendar calendar file
 !:mime text/calendar
+# updated by Joerg Jenderek at Apr 2015
+# Extension: .vcf
+# http://en.wikipedia.org/wiki/VCard
 0      string/c        BEGIN:VCARD             vCard visiting card
-!:mime text/x-vcard
+# deprecated
+#!:mime        text/x-vcard
+!:mime text/vcard
+# VERSION must come right after BEGIN for 3.0 or 4.0 except in 2.1 , where it can be anywhere
+>12    search/14000/c  VERSION:                
+# VERSION 2.1 , 3.0 or 4.0
+>>&0   string          x                       \b, version %-.3s
 
 # Summary: Libtool library file
 # Extension: .la