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