summaryrefslogtreecommitdiffstats
path: root/contrib/file/magic/Magdir/fortran
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2016-04-18 07:36:24 +0000
committerdelphij <delphij@FreeBSD.org>2016-04-18 07:36:24 +0000
commit1852c3675cd08e58d07e956f9023f5b3eee5ca3c (patch)
tree7811b5b9831ebf5066c7eae2d213b5e48f66deb7 /contrib/file/magic/Magdir/fortran
parentcb410646fdaa9c6e3285e1d015ad0095ba9b012b (diff)
parent3c98cb6b19e2270fd5235eb16a8ae98de4fb0b5f (diff)
downloadFreeBSD-src-1852c3675cd08e58d07e956f9023f5b3eee5ca3c.zip
FreeBSD-src-1852c3675cd08e58d07e956f9023f5b3eee5ca3c.tar.gz
MFV r298178:
Update file to 5.26. MFC after: 2 weeks Relnotes: yes
Diffstat (limited to 'contrib/file/magic/Magdir/fortran')
-rw-r--r--contrib/file/magic/Magdir/fortran6
1 files changed, 4 insertions, 2 deletions
diff --git a/contrib/file/magic/Magdir/fortran b/contrib/file/magic/Magdir/fortran
index 826e912..6abc2f7 100644
--- a/contrib/file/magic/Magdir/fortran
+++ b/contrib/file/magic/Magdir/fortran
@@ -1,7 +1,9 @@
#------------------------------------------------------------------------------
-# $File: fortran,v 1.9 2015/06/17 19:55:27 christos Exp $
+# $File: fortran,v 1.10 2015/11/05 18:47:16 christos Exp $
# FORTRAN source
-0 regex/100l \^[Cc][\ \t] FORTRAN program text
+# Check that the first 100 lines start with C or whitespace first.
+0 regex/100l !\^[^Cc\ \t].*$
+>0 regex/100l \^[Cc][\ \t] FORTRAN program text
!:mime text/x-fortran
!:strength - 5
OpenPOWER on IntegriCloud