head	1.3;
access;
symbols
	file-4_20:1.3
	rpm-4_4_8-release:1.2
	rpm-4_4_7-release:1.2
	rpm-4_4_6-release:1.2
	rpm-4_4_5-release:1.2
	rpm-4_4_4-release:1.2
	rpm-4_4_3-release:1.2
	file-4_16:1.2
	jbj_before_tklcpatches:1.2
	rpm-4_4_2-release:1.2
	file-4_14:1.2
	pjones-sparse-experiment:1.2.0.8
	rpm-4_4_1-release:1.2
	file-4_12:1.2
	rpm-4_4-release:1.2
	rpm-4_4:1.2.0.6
	file-4_10:1.2
	file-4_09:1.2
	rpm-file-before:1.2
	rpm42-file-before:1.2
	rpm43-file-before:1.2
	rpm-4_3_1-start:1.2
	rpm-4_3:1.2.0.4
	rpm-4_2:1.2.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	2003.04.15.20.04.26;	author jbj;	state Exp;
branches
	1.2.2.1
	1.2.6.1;
next	1.1;

1.1
date	2003.04.15.16.58.35;	author jbj;	state Exp;
branches;
next	;

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

1.2.6.1
date	2007.05.10.17.39.22;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Virgin file-4.20.
@
text
@
#------------------------------------------------------------------------------
# lisp:  file(1) magic for lisp programs
#
# various lisp types, from Daniel Quinlan (quinlan@@yggdrasil.com)

# updated by Joerg Jenderek
0	string	;;			
# windows INF files often begin with semicolon and use CRLF as line end
# lisp files are mainly created on unix system with LF as line end
>2	search/2048	!\r		Lisp/Scheme program text
>2	search/2048	\r		Windows INF file
0	string	(			
>1	string	if\ 			Lisp/Scheme program text
>1	string	setq\ 			Lisp/Scheme program text
>1	string	defvar\ 		Lisp/Scheme program text
>1	string	autoload\ 		Lisp/Scheme program text
>1	string	custom-set-variables	Lisp/Scheme program text

# Emacs 18 - this is always correct, but not very magical.
0	string	\012(			Emacs v18 byte-compiled Lisp data
# Emacs 19+ - ver. recognition added by Ian Springer
# Also applies to XEmacs 19+ .elc files; could tell them apart if we had regexp
# support or similar - Chris Chittleborough <cchittleborough@@yahoo.com.au>
0	string	;ELC			
>4	byte	>19			
>4	byte    <32			Emacs/XEmacs v%d byte-compiled Lisp data

# Files produced by CLISP Common Lisp From: Bruno Haible <haible@@ilog.fr>
0	string	(SYSTEM::VERSION\040'	CLISP byte-compiled Lisp program text
0	long	0x70768BD2		CLISP memory image data
0	long	0xD28B7670		CLISP memory image data, other endian

# Files produced by GNU gettext
0	long	0xDE120495		GNU-format message catalog data
0	long	0x950412DE		GNU-format message catalog data

#.com and .bin for MIT scheme 
0	string	\372\372\372\372	MIT scheme (library?)

# From: David Allouche <david@@allouche.net>
0	string	\<TeXmacs|	TeXmacs document text
@


1.2
log
@Merge file-4.02 changes.
@
text
@d7 12
a18 2
# This is a guess, but a good one.
0	string	;;			Lisp/Scheme program text
@


1.2.6.1
log
@Upgrade to file-4.20 internal.
@
text
@d7 2
a8 12
# updated by Joerg Jenderek
0	string	;;			
# windows INF files often begin with semicolon and use CRLF as line end
# lisp files are mainly created on unix system with LF as line end
>2	search/2048	!\r		Lisp/Scheme program text
>2	search/2048	\r		Windows INF file
0	string	(			
>1	string	if\ 			Lisp/Scheme program text
>1	string	setq\ 			Lisp/Scheme program text
>1	string	defvar\ 		Lisp/Scheme program text
>1	string	autoload\ 		Lisp/Scheme program text
>1	string	custom-set-variables	Lisp/Scheme program text
@


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


1.1
log
@Move magic creation to sub-directory.
@
text
@d30 3
@

