]> granicus.if.org Git - file/commitdiff
perhaps add a search? added leading \n
authorChristos Zoulas <christos@zoulas.com>
Sun, 11 Jan 2015 18:19:18 +0000 (18:19 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 11 Jan 2015 18:19:18 +0000 (18:19 +0000)
magic/Magdir/pdf

index bbcf94b6ac0d3a7ea8a754b59301c7424c215e25..0d72aa027d40ac51a2790136df4a4e233b2626ed 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: pdf,v 1.6 2009/09/19 16:28:11 christos Exp $
+# $File: pdf,v 1.7 2013/08/22 07:47:26 christos Exp $
 # pdf:  file(1) magic for Portable Document Format
 #
 
@@ -9,6 +9,11 @@
 >5     byte            x               \b, version %c
 >7     byte            x               \b.%c
 
+0      string          \012%PDF-       PDF document
+!:mime application/pdf
+>6     byte            x               \b, version %c
+>8     byte            x               \b.%c
+
 # From: Nick Schmalenberger <nick@schmalenberger.us>
 # Forms Data Format
 0       string          %FDF-           FDF document