head	1.3;
access;
symbols
	file-4_20:1.3
	rpm-4_4_8-release:1.1.6.1
	rpm-4_4_7-release:1.1.6.1
	rpm-4_4_6-release:1.1.6.1
	rpm-4_4_5-release:1.1.6.1
	rpm-4_4_4-release:1.1.6.1
	rpm-4_4_3-release:1.1.6.1
	file-4_16:1.2
	jbj_before_tklcpatches:1.1.6.1
	rpm-4_4_2-release:1.1.6.1
	file-4_14:1.2
	pjones-sparse-experiment:1.2.0.2
	rpm-4_4_1-release:1.1.6.1
	file-4_12:1.2
	rpm-4_4-release:1.1
	rpm-4_4:1.1.0.6
	file-4_10:1.1
	file-4_09:1.1
	rpm-file-before:1.1
	rpm42-file-before:1.1
	rpm43-file-before:1.1
	rpm-4_3_1-start:1.1
	rpm-4_3:1.1.0.4
	rpm-4_2:1.1.0.2;
locks; strict;
comment	@# @;


1.3
date	2007.05.09.19.38.34;	author jbj;	state Exp;
branches;
next	1.2;

1.2
date	2005.01.02.21.27.19;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2003.04.15.16.58.36;	author jbj;	state Exp;
branches
	1.1.2.1
	1.1.6.1;
next	;

1.1.2.1
date	2003.12.01.21.20.02;	author jbj;	state Exp;
branches;
next	;

1.1.6.1
date	2005.01.03.02.02.55;	author jbj;	state Exp;
branches;
next	1.1.6.2;

1.1.6.2
date	2007.05.10.17.39.23;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Virgin file-4.20.
@
text
@
#------------------------------------------------------------------------------
# tex:  file(1) magic for TeX files
#
# From <conklin@@talisman.kaleida.com>

# Although we may know the offset of certain text fields in TeX DVI
# and font files, we can't use them reliably because they are not
# zero terminated. [but we do anyway, christos]
0	string		\367\002	TeX DVI file
>16	string		>\0		(%s)
0	string		\367\203	TeX generic font data
0	string		\367\131	TeX packed font data
>3	string		>\0		(%s)
0	string		\367\312	TeX virtual font data
0	string		This\ is\ TeX,	TeX transcript text
0	string		This\ is\ METAFONT,	METAFONT transcript text

# There is no way to detect TeX Font Metric (*.tfm) files without
# breaking them apart and reading the data.  The following patterns
# match most *.tfm files generated by METAFONT or afm2tfm.
2	string		\000\021	TeX font metric data
>33	string		>\0		(%s)
2	string		\000\022	TeX font metric data
>33	string		>\0		(%s)

# Texinfo and GNU Info, from Daniel Quinlan (quinlan@@yggdrasil.com)
0	string		\\input\ texinfo	Texinfo source text
0	string		This\ is\ Info\ file	GNU Info text

# TeX documents, from Daniel Quinlan (quinlan@@yggdrasil.com)
0	search/400	\\input		TeX document text
0	search/400	\\section	LaTeX document text
0	search/400	\\setlength	LaTeX document text
0	search/400	\\documentstyle	LaTeX document text
0	search/400	\\chapter	LaTeX document text
0	search/400	\\documentclass	LaTeX 2e document text
0	search/400	\\relax		LaTeX auxiliary file
0	search/400	\\contentsline	LaTeX table of contents
0	search/400	%\ -*-latex-*-	LaTeX document text

# Tex document, from Hendrik Scholz <hendrik@@scholz.net>
0   string      \\ifx       TeX document text

# Index and glossary files
0	search/400	\\indexentry	LaTeX raw index file
0	search/400	\\begin{theindex}	LaTeX sorted index
0	search/400	\\glossaryentry	LaTeX raw glossary
0	search/400	\\begin{theglossary}	LaTeX sorted glossary
0	search/400	This\ is\ makeindex	Makeindex log file

# End of TeX

#------------------------------------------------------------------------------
# file(1) magic for BibTex text files
# From Hendrik Scholz <hendrik@@scholz.net>

0   string/c @@article{        BibTeX text file
0   string/c @@book{           BibTeX text file
0   string/c @@inbook{         BibTeX text file
0   string/c @@incollection{   BibTeX text file
0   string/c @@inproceedings{  BibTeX text file
0   string/c @@manual{         BibTeX text file
0   string/c @@misc{           BibTeX text file
0   string/c @@preamble{       BibTeX text file
0   string/c @@phdthesis{      BibTeX text file
0   string/c @@techreport{     BibTeX text file
0   string/c @@unpublished{    BibTeX text file

73  string %%%\ \ BibTeX-file{ BibTex text file (with full header)

73  string %%%\ \ @@BibTeX-style-file{   BibTeX style text file (with full header)

0   string %\ BibTeX\ standard\ bibliography\      BibTeX standard bibliography style text file

0   string %\ BibTeX\ `     BibTeX custom bibliography style text file

0   string  @@c\ @@mapfile{   TeX font aliases text file

@


1.2
log
@Upgrade to file-4.12.
@
text
@d32 9
a40 9
0	string		\\input		TeX document text
0	string		\\section	LaTeX document text
0	string		\\setlength	LaTeX document text
0	string		\\documentstyle	LaTeX document text
0	string		\\chapter	LaTeX document text
0	string		\\documentclass	LaTeX 2e document text
0	string		\\relax		LaTeX auxiliary file
0	string		\\contentsline	LaTeX  table of contents
0	string		%\ -*-latex-*-	LaTeX document text
d46 5
a50 5
0	string		\\indexentry	LaTeX raw index file
0	string		\\begin{theindex}	LaTeX sorted index
0	string		\\glossaryentry	LaTeX raw glossary
0	string		\\begin{theglossary}	LaTeX sorted glossary
0	string		This\ is\ makeindex	Makeindex log file
@


1.1
log
@Move magic creation to sub-directory.
@
text
@d58 11
a68 35
0   string @@article{          BibTex text file
0   string @@book{             BibTex text file
0   string @@inbook{           BibTex text file
0   string @@incollection{     BibTex text file
0   string @@inproceedings{    BibTex text file
0   string @@manual{           BibTex text file
0   string @@misc{             BibTex text file
0   string @@preamble{         BibTex text file
0   string @@phdthesis{        BibTex text file
0   string @@techreport{       BibTex text file
0   string @@unpublished{      BibTex text file

0   string @@Article{          BibTex text file
0   string @@Book{             BibTex text file
0   string @@Inbook{           BibTex text file
0   string @@Incollection{     BibTex text file
0   string @@Inproceedings{    BibTex text file
0   string @@Manual{           BibTex text file
0   string @@Misc{             BibTex text file
0   string @@Preamble{         BibTex text file
0   string @@Phdthesis{        BibTex text file
0   string @@Techreport{       BibTex text file
0   string @@Unpublished{      BibTex text file

0   string @@ARTICLE{          BibTex text file
0   string @@BOOK{             BibTex text file
0   string @@INBOOK{           BibTex text file
0   string @@INCOLLECTION{     BibTex text file
0   string @@INPROCEEDINGS{    BibTex text file
0   string @@MANUAL{           BibTex text file
0   string @@MISC{             BibTex text file
0   string @@PREAMBLE{         BibTex text file
0   string @@PHDTHESIS{        BibTex text file
0   string @@TECHREPORT{       BibTex text file
0   string @@UNPUBLISHED{      BibTex text file
@


1.1.6.1
log
@Upgrade to file-4.12 (with RH patches).
@
text
@d58 35
a92 11
0   string/c @@article{        BibTeX text file
0   string/c @@book{           BibTeX text file
0   string/c @@inbook{         BibTeX text file
0   string/c @@incollection{   BibTeX text file
0   string/c @@inproceedings{  BibTeX text file
0   string/c @@manual{         BibTeX text file
0   string/c @@misc{           BibTeX text file
0   string/c @@preamble{       BibTeX text file
0   string/c @@phdthesis{      BibTeX text file
0   string/c @@techreport{     BibTeX text file
0   string/c @@unpublished{    BibTeX text file
@


1.1.6.2
log
@Upgrade to file-4.20 internal.
@
text
@d32 9
a40 9
0	search/400	\\input		TeX document text
0	search/400	\\section	LaTeX document text
0	search/400	\\setlength	LaTeX document text
0	search/400	\\documentstyle	LaTeX document text
0	search/400	\\chapter	LaTeX document text
0	search/400	\\documentclass	LaTeX 2e document text
0	search/400	\\relax		LaTeX auxiliary file
0	search/400	\\contentsline	LaTeX table of contents
0	search/400	%\ -*-latex-*-	LaTeX document text
d46 5
a50 5
0	search/400	\\indexentry	LaTeX raw index file
0	search/400	\\begin{theindex}	LaTeX sorted index
0	search/400	\\glossaryentry	LaTeX raw glossary
0	search/400	\\begin{theglossary}	LaTeX sorted glossary
0	search/400	This\ is\ makeindex	Makeindex log file
@


1.1.2.1
log
@Merge from top-of-stack.
@
text
@@

