]> granicus.if.org Git - file/commitdiff
don't require the use to match for printing mime info
authorChristos Zoulas <christos@zoulas.com>
Sun, 19 Aug 2018 10:15:25 +0000 (10:15 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 19 Aug 2018 10:15:25 +0000 (10:15 +0000)
magic/Magdir/images

index 68a28269f7f9af90799151f7f1c3a44e1b1b712d..bb71e755b3008ef662ae161fb9fa108a10c72b4f 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.150 2018/08/01 12:43:51 christos Exp $
+# $File: images,v 1.151 2018/08/19 10:15:25 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 0      search/1        P1
 >0     regex/4         P1[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, bitmap
+>>   string          x       \b, bitmap
 !:strength + 45
 !:mime image/x-portable-bitmap
 
 0      search/1        P2
 >0     regex/4         P2[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, greymap
+>>   string          x       \b, greymap
 !:strength + 45
 !:mime image/x-portable-greymap
 
 0      search/1        P3
 >0     regex/4         P3[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, pixmap
+>>   string          x       \b, pixmap
 !:strength + 45
 !:mime image/x-portable-pixmap
 
 0      string          P4
 >0     regex/4         P4[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, rawbits, bitmap
+>>   string          x       \b, rawbits, bitmap
 !:strength + 45
 !:mime image/x-portable-bitmap
 
 0      string          P5
 >0     regex/4         P5[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, rawbits, greymap
+>>   string          x       \b, rawbits, greymap
 !:strength + 45
 !:mime image/x-portable-greymap
 
 0      string          P6
 >0     regex/4         P6[\040\t\f\r\n]
 >>0    use             netpbm
->>>0   string          x       \b, rawbits, pixmap
+>>   string          x       \b, rawbits, pixmap
 !:strength + 45
 !:mime image/x-portable-pixmap