Imported Upstream version 5.32
[platform/upstream/file.git] / magic / Magdir / pdf
index 0d72aa0..04b564d 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: pdf,v 1.7 2013/08/22 07:47:26 christos Exp $
+# $File: pdf,v 1.9 2017/05/24 17:35:20 christos Exp $
 # pdf:  file(1) magic for Portable Document Format
 #
 
@@ -20,3 +20,8 @@
 !:mime application/vnd.fdf
 >5      byte            x               \b, version %c
 >7      byte            x               \b.%c
+
+0      search/256      %PDF-           PDF document
+!:mime application/pdf
+>&0    byte            x               \b, version %c
+>&2    byte            x               \b.%c