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