xref: /freebsd/contrib/file/magic/Magdir/fortran (revision 3e41d09d08f5bfa2fc1386241f334b865d6da085)
1b6cee71dSXin LI
2b6cee71dSXin LI#------------------------------------------------------------------------------
3*3e41d09dSXin LI# $File: fortran,v 1.10 2015/11/05 18:47:16 christos Exp $
4b6cee71dSXin LI# FORTRAN source
5*3e41d09dSXin LI# Check that the first 100 lines start with C or whitespace first.
6*3e41d09dSXin LI0       regex/100l      !\^[^Cc\ \t].*$
7*3e41d09dSXin LI>0	regex/100l	\^[Cc][\ \t]	FORTRAN program text
8b6cee71dSXin LI!:mime	text/x-fortran
9b6cee71dSXin LI!:strength - 5
10