]> 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 dc2f7992d12496d8adcfd861469cb6d88b56c970..b43a675cec0c9b0d32de1a1d311ad2815e4f0d0f 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: pdf,v 1.7 2013/08/22 07:47:26 christos Exp $
+# $File: pdf,v 1.8 2015/01/11 18:19:18 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