#
#  byname.cf - File naming conventions that yield type recognition
#
#  Format: <Type> <Regular Expression for filename match>
#
#  All regular expressions are in POSIX extended form and must have
#  a ^ first and a $ last.  The types are evaluated in the order specified.  
#  All regular expressions are CASE SENSITIVE.
#
#  $Id: byname-posix.cf,v 1.18 1995/09/06 07:15:08 duane Exp $
#

#
#  These types must always be evaluated first
#
PCIndex			^.*\.pcindex$
CompressedTar		^.*\.tar\.Z$
Compressed		^.*\.Z$
GNUCompressedTar	^.*\.(tar\.gz|tar\.z|taz|tgz)$
GNUCompressed		^.*\.(gz|z)$
FYI                     ^fyi.*\.txt$
InternetDraft           ^draft-.*[0-9][0-9]\.txt$
RFC                     ^rfc.*\.txt$
Makefile		^.*[mM]akefile.*$

#
#  Regular types
#
Ada			^.*\.ada$
Archive			^.*\.a$
Assembly		^.*\.(asm|s|S)$
Audio			^.*\.(au|voc|aiff|hcom|sb|ulaw|sf)$
Awk			^.*\.awk$
Backup			^.*\.(bak|old|tmp)$
Backup			^.*~$
Batch			^.*\.(bat|BAT)$
Binary			^.*\.(exe|com|EXE|COM)$
BitmapImage		^.*\.(bm|icon|pr|xbm)$
C			^.*\.(c|y)$
C++			^.*\.(cc|C|cxx|H)$
CHeader			^.*\.h$
Command			^.*\.(sh|csh)$
CommonLisp		^.*\.(fas|lsp)$
Configuration		^.*\.(cf|conf|in)$
Configuration		^\..*rc$
Data			^.*\.(dat|data|log|DAT)$
DitroffImage		^.*\.dit$
Dvi			^.*\.dvi$
DynamicLibrary		^.*\.so$
EmacsLisp		^.*\.(el|elc)$
Font			^.*\.(bdf|pcf|snf)$
Fortran			^.*\.(fortran|for|f|f77|F|fi)$
GDBM			^.*\.gdbm$
GNUInfo			^.*\.info$
GhostscriptFont		^.*\.gsf$
GifImage		^.*\.(gif|GIF)$
HTML			^.*\.(html|htm|HTML|HTM)$
IAFA			^.*\.iafa$
Image			^.*\.(pbm|ras|ppm)$
InputFile		^.*\.in$
JPEGImage		^.*\.(jpg|jpeg|JPG)$
LSM			^.*\.lsm$
Lex			^.*\.l$
Lint			^.*\.ln$
MIF			^.*\.(mif|MIF|frame)$
MPEGImage		^.*\.(mpg|mpeg|MPG)$
MacBinHex		^.*\.[hH][Qq][Xx]$
Mail			^.*\.mbox$
ManPage			^.*\.man$
Metafont		^.*\.mf$
Modula2			^.*\.(mod|sym)$
Object			^.*\.o$
OutputFile		^.*\.out$
PCCompressed		^.*\.(arc|zoo|ARC|ZOO)$
PCZipped		^.*\.(zip|ZIP)$
PIDFile			^.*\.pid$
Pascal			^.*\.(p|pas)$
Patch			^.*\.(patch|bug)$
Perl			^.*\.(pl|ph)$
PixrectImage		^.*\.pcx$
PostScript		^.*\.(ps|eps)$
PostScriptFont		^.*\.afm$
RCS			^.*,v$
RTF			^.*\.(rtf|RTF)$
SCCS			^s\..*$
SOIF			^.*\.soif$
ShellArchive		^.*\.shar$
Spreadsheet		^.*\.sc$
Tar			^.*\.tar$
Tcl			^.*\.tcl$
TeX			^.*\.(tex|latex|sty)$
TeXFont			^.*\.([0-9]+pk|tfm)$
TeXInfo			^.*\.(texi|texinfo)$
Text			^.*\.(doc|txt|ascii|info|TXT|DOC)$
TiffImage		^.*\.(tif|tiff|TIF)$
Troff			^.*\.(tbl|eqn|pic|mm)$
Troff-me		^.*\.me$
Troff-ms		^.*\.ms$
Uuencoded		^.*\.(uu|uue)$
WaisIndex		^.*\.(dct|fn|hl|inv|cat)$
WaisSource		^.*\.src$
Web			^.*\.(web|cweb)$
WordPerfect		^.*\.(wp|wp5|WP|WP5)$
X11Font			^.*\.pcf$
Yacc			^.*\.y$

#
#  These types must always be evaluated last
#
Data			^.*data.*$
Index			^.*[iI][nN][dD][eE][xX].*$
FAQ			^.*[fF][aA][qQ].*$
README			^.*[cC][oO][pP][yY][rR][iI][gG][hH][tT].*$
README			^.*[iI][nN][sS][tT][aA][lL][lL].*$
README			^.*[rR][eE][aA][dD].*[mM][eE].*$
DotFile			^\..*$
