From 3ccdf257f1200bf72ebf774dab1f6662e55c67c0 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 11 Jan 2015 18:19:18 +0000 Subject: [PATCH] perhaps add a search? added leading \n --- magic/Magdir/pdf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/magic/Magdir/pdf b/magic/Magdir/pdf index bbcf94b6..0d72aa02 100644 --- a/magic/Magdir/pdf +++ b/magic/Magdir/pdf @@ -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 # Forms Data Format 0 string %FDF- FDF document -- 2.40.0