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