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