xref: /freebsd/contrib/file/magic/Magdir/fortran (revision a7623790fb345e6dc986dfd31df0ace115e6f2e4)
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