head	1.4;
access;
symbols
	RELENG_8_4:1.4.0.2
	RELENG_9_1_0_RELEASE:1.3.10.1
	RELENG_9_1:1.3.10.1.0.2
	RELENG_9_1_BP:1.3.10.1
	RELENG_8_3_0_RELEASE:1.3
	RELENG_8_3:1.3.0.14
	RELENG_8_3_BP:1.3
	RELENG_9_0_0_RELEASE:1.3
	RELENG_9_0:1.3.0.12
	RELENG_9_0_BP:1.3
	RELENG_9:1.3.0.10
	RELENG_9_BP:1.3
	RELENG_7_4_0_RELEASE:1.1.1.6
	RELENG_8_2_0_RELEASE:1.3
	RELENG_7_4:1.1.1.6.0.12
	RELENG_7_4_BP:1.1.1.6
	RELENG_8_2:1.3.0.8
	RELENG_8_2_BP:1.3
	RELENG_8_1_0_RELEASE:1.3
	RELENG_8_1:1.3.0.6
	RELENG_8_1_BP:1.3
	RELENG_7_3_0_RELEASE:1.1.1.6
	RELENG_7_3:1.1.1.6.0.10
	RELENG_7_3_BP:1.1.1.6
	RELENG_8_0_0_RELEASE:1.3
	RELENG_8_0:1.3.0.4
	RELENG_8_0_BP:1.3
	RELENG_8:1.3.0.2
	RELENG_8_BP:1.3
	RELENG_7_2_0_RELEASE:1.1.1.6
	RELENG_7_2:1.1.1.6.0.8
	RELENG_7_2_BP:1.1.1.6
	RELENG_7_1_0_RELEASE:1.1.1.6
	RELENG_6_4_0_RELEASE:1.1.1.4.12.1
	RELENG_7_1:1.1.1.6.0.6
	RELENG_7_1_BP:1.1.1.6
	RELENG_6_4:1.1.1.4.12.1.0.2
	RELENG_6_4_BP:1.1.1.4.12.1
	RELENG_7_0_0_RELEASE:1.1.1.6
	file_4_23__r1_46:1.1.1.6
	RELENG_6_3_0_RELEASE:1.1.1.4
	file_4_23:1.1.1.6
	RELENG_7_0:1.1.1.6.0.4
	RELENG_7_0_BP:1.1.1.6
	RELENG_6_3:1.1.1.4.0.22
	RELENG_6_3_BP:1.1.1.4
	RELENG_7:1.1.1.6.0.2
	RELENG_7_BP:1.1.1.6
	file_4_21:1.1.1.6
	file_4_19:1.1.1.5
	RELENG_6_2_0_RELEASE:1.1.1.4
	RELENG_6_2:1.1.1.4.0.20
	RELENG_6_2_BP:1.1.1.4
	file_4_17_A:1.1
	file_4_17:1.1.1.5
	RELENG_5_5_0_RELEASE:1.1.1.4
	RELENG_5_5:1.1.1.4.0.18
	RELENG_5_5_BP:1.1.1.4
	RELENG_6_1_0_RELEASE:1.1.1.4
	RELENG_6_1:1.1.1.4.0.16
	RELENG_6_1_BP:1.1.1.4
	RELENG_6_0_0_RELEASE:1.1.1.4
	RELENG_6_0:1.1.1.4.0.14
	RELENG_6_0_BP:1.1.1.4
	RELENG_6:1.1.1.4.0.12
	RELENG_6_BP:1.1.1.4
	RELENG_5_4_0_RELEASE:1.1.1.4
	RELENG_5_4:1.1.1.4.0.10
	RELENG_5_4_BP:1.1.1.4
	RELENG_4_11_0_RELEASE:1.1.1.1.2.3
	file_4_12:1.1.1.4
	RELENG_4_11:1.1.1.1.2.3.0.8
	RELENG_4_11_BP:1.1.1.1.2.3
	RELENG_5_3_0_RELEASE:1.1.1.4
	RELENG_5_3:1.1.1.4.0.8
	RELENG_5_3_BP:1.1.1.4
	RELENG_5:1.1.1.4.0.6
	RELENG_5_BP:1.1.1.4
	file_4_10:1.1.1.4
	RELENG_4_10_0_RELEASE:1.1.1.1.2.3
	RELENG_4_10:1.1.1.1.2.3.0.6
	RELENG_4_10_BP:1.1.1.1.2.3
	RELENG_5_2_1_RELEASE:1.1.1.4
	RELENG_5_2_0_RELEASE:1.1.1.4
	RELENG_5_2:1.1.1.4.0.4
	RELENG_5_2_BP:1.1.1.4
	RELENG_4_9_0_RELEASE:1.1.1.1.2.3
	RELENG_4_9:1.1.1.1.2.3.0.4
	RELENG_4_9_BP:1.1.1.1.2.3
	RELENG_5_1_0_RELEASE:1.1.1.4
	RELENG_5_1:1.1.1.4.0.2
	RELENG_5_1_BP:1.1.1.4
	RELENG_4_8_0_RELEASE:1.1.1.1.2.3
	RELENG_4_8:1.1.1.1.2.3.0.2
	RELENG_4_8_BP:1.1.1.1.2.3
	file_3_41:1.1.1.4
	file_3_40:1.1.1.4
	RELENG_5_0_0_RELEASE:1.1.1.3
	RELENG_5_0:1.1.1.3.0.2
	RELENG_5_0_BP:1.1.1.3
	RELENG_4_7_0_RELEASE:1.1.1.1.2.2
	RELENG_4_7:1.1.1.1.2.2.0.8
	RELENG_4_7_BP:1.1.1.1.2.2
	file_3_39:1.1.1.3
	RELENG_4_6_2_RELEASE:1.1.1.1.2.2
	RELENG_4_6_1_RELEASE:1.1.1.1.2.2
	RELENG_4_6_0_RELEASE:1.1.1.1.2.2
	RELENG_4_6:1.1.1.1.2.2.0.6
	RELENG_4_6_BP:1.1.1.1.2.2
	RELENG_4_5_0_RELEASE:1.1.1.1.2.2
	RELENG_4_5:1.1.1.1.2.2.0.4
	RELENG_4_5_BP:1.1.1.1.2.2
	file_3_37:1.1.1.2
	RELENG_4_4_0_RELEASE:1.1.1.1.2.2
	RELENG_4_4:1.1.1.1.2.2.0.2
	RELENG_4_4_BP:1.1.1.1.2.2
	file_3_36:1.1.1.2
	file_3_35:1.1.1.2
	RELENG_4_3_0_RELEASE:1.1.1.1.2.1
	RELENG_4_3:1.1.1.1.2.1.0.2
	RELENG_4_3_BP:1.1.1.1.2.1
	file_3_34:1.1.1.2
	RELENG_4:1.1.1.1.0.2
	file_3_33:1.1.1.1
	file_3_32:1.1.1.1
	ZOULAS:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2012.04.19.03.20.13;	author obrien;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2009.05.18.22.34.33;	author delphij;	state Exp;
branches
	1.3.10.1;
next	1.2;

1.2
date	2009.01.02.03.10.55;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.05.08.33.54;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.4.2.1
date	2012.04.19.03.20.13;	author svnexp;	state dead;
branches;
next	1.4.2.2;

1.4.2.2
date	2013.03.28.13.00.45;	author svnexp;	state Exp;
branches;
next	;

1.3.10.1
date	2012.07.02.08.48.58;	author obrien;	state Exp;
branches;
next	;

1.1.1.1
date	2000.11.05.08.33.54;	author obrien;	state Exp;
branches
	1.1.1.1.2.1;
next	1.1.1.2;

1.1.1.2
date	2001.03.25.18.37.04;	author obrien;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2002.09.16.05.54.25;	author obrien;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2003.02.15.18.53.16;	author obrien;	state Exp;
branches
	1.1.1.4.12.1;
next	1.1.1.5;

1.1.1.5
date	2006.06.19.07.52.14;	author obrien;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	2007.05.24.21.59.37;	author obrien;	state Exp;
branches;
next	;

1.1.1.1.2.1
date	2000.11.26.21.37.23;	author obrien;	state Exp;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2001.08.02.22.51.38;	author obrien;	state Exp;
branches;
next	1.1.1.1.2.3;

1.1.1.1.2.3
date	2003.03.16.04.44.56;	author obrien;	state Exp;
branches;
next	;

1.1.1.4.12.1
date	2008.01.24.15.47.31;	author rafan;	state Exp;
branches;
next	;


desc
@@


1.4
log
@SVN rev 234449 on 2012-04-19 03:20:13Z by obrien

Update file(1) to version 5.11.
@
text
@
#------------------------------------------------------------------------------
# $File: lisp,v 1.23 2009/09/19 16:28:10 christos Exp $
# lisp:  file(1) magic for lisp programs
#
# various lisp types, from Daniel Quinlan (quinlan@@yggdrasil.com)

# updated by Joerg Jenderek
# GRR: This lot is too weak
#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/4096	!\r		Lisp/Scheme program text
#>2	search/4096	\r		Windows INF file

0	search/4096	(setq\ 			Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defvar\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defparam\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defun\  		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(autoload\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(custom-set-variables\ 	Lisp/Scheme program text
!:mime	text/x-lisp

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

# Files produced by CLISP Common Lisp From: Bruno Haible <haible@@ilog.fr>
0	string	(SYSTEM::VERSION\040'	CLISP byte-compiled Lisp program (pre 2004-03-27)
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

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

# From: David Allouche <david@@allouche.net>
0	search/1	\<TeXmacs|	TeXmacs document text
!:mime	text/texmacs
@


1.4.2.1
log
@file lisp was added on branch RELENG_8_4 on 2013-03-28 13:00:45 +0000
@
text
@d1 52
@


1.4.2.2
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/248810
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@a0 52
#------------------------------------------------------------------------------
# lisp:  file(1) magic for lisp programs
#
# various lisp types, from Daniel Quinlan (quinlan@@yggdrasil.com)

# updated by Joerg Jenderek
# GRR: This lot is too weak
#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/4096	!\r		Lisp/Scheme program text
#>2	search/4096	\r		Windows INF file

0	search/4096	(if\ 			Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(setq\ 			Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defvar\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defparam\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(defun\  		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(autoload\ 		Lisp/Scheme program text
!:mime	text/x-lisp
0	search/4096	(custom-set-variables\ 	Lisp/Scheme program text
!:mime	text/x-lisp

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

# Files produced by CLISP Common Lisp From: Bruno Haible <haible@@ilog.fr>
0	string	(SYSTEM::VERSION\040'	CLISP byte-compiled Lisp program (pre 2004-03-27)
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

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

# From: David Allouche <david@@allouche.net>
0	search/1	\<TeXmacs|	TeXmacs document text
!:mime	text/texmacs
@


1.3
log
@SVN rev 192350 on 2009-05-18 22:34:33Z by delphij

Merge vendor/file/dist@@192348, bringing FILE 5.03 to 8-CURRENT.

Security:	CVE-2009-1515
@
text
@d1 1
d3 1
a15 2
0	search/4096	(if\ 			Lisp/Scheme program text
!:mime	text/x-lisp
@


1.3.10.1
log
@SVN rev 237983 on 2012-07-02 08:48:58Z by obrien

MFC: r234449: update file(1) to version 5.11.
@
text
@a0 1

a1 1
# $File: lisp,v 1.23 2009/09/19 16:28:10 christos Exp $
d14 2
@


1.2
log
@SVN rev 186691 on 2009-01-02 03:10:55Z by obrien

Record that base/vendor/file/dist@@186675 was merged.
Merge base/vendor/file/dist@@186675@@186690, bringing FILE 4.26 to 8-CURRENT.
@
text
@d11 2
a12 2
#>2	search/2048	!\r		Lisp/Scheme program text
#>2	search/2048	\r		Windows INF file
d14 1
a14 1
0	search/256	(if\ 			Lisp/Scheme program text
d16 1
a16 1
0	search/256	(setq\ 			Lisp/Scheme program text
d18 1
a18 1
0	search/256	(defvar\ 		Lisp/Scheme program text
d20 1
a20 1
0	search/256	(defparam\ 		Lisp/Scheme program text
d22 1
a22 1
0	search/256	(defun\  		Lisp/Scheme program text
d24 1
a24 1
0	search/256	(autoload\ 		Lisp/Scheme program text
d26 1
a26 1
0	search/256	(custom-set-variables\ 	Lisp/Scheme program text
@


1.1
log
@Initial revision
@
text
@a0 1

d5 24
a28 1
0	string	;;			Lisp/Scheme program text
d30 10
a39 4
0	string	\012(			byte-compiled Emacs-Lisp program data
# Emacs 19
0	string	;ELC\023\000\000\000	byte-compiled Emacs-Lisp program data
#
d41 3
a43 1
0	string	(SYSTEM::VERSION\040'	CLISP byte-compiled Lisp program text
a45 3
# Files produced by GNU gettext
0	long	0xDE120495		GNU-format message catalog data
0	long	0x950412DE		GNU-format message catalog data
d49 4
@


1.1.1.1
log
@Virgin import of FILE 3.32
@
text
@@


1.1.1.2
log
@Virgin import of Christos Zoulas's FILE 3.34.
@
text
@d9 2
a10 3
# Emacs 19+ - ver. recognition added by Ian Springer
0	string	;ELC			byte-compiled Emacs-Lisp program data,
>4	byte	>0			version %d
@


1.1.1.3
log
@Virgin import of Christos Zoulas's FILE 3.39.
@
text
@a5 2

# This is a guess, but a good one.
a6 1

d8 1
a8 1
0	string	\012(			Emacs v18 byte-compiled Lisp data
d10 3
a12 6
# 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

a16 1

@


1.1.1.4
log
@Virgin import of Christos Zoulas's FILE 3.40.
@
text
@a29 3

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


1.1.1.4.12.1
log
@MFC file 4.21
@
text
@d7 2
a8 14
# 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	search/256	(if\ 			Lisp/Scheme program text
0	search/256	(setq\ 			Lisp/Scheme program text
0	search/256	(defvar\ 		Lisp/Scheme program text
0	search/256	(defparam\ 		Lisp/Scheme program text
0	search/256	(defun\  		Lisp/Scheme program text
0	search/256	(autoload\ 		Lisp/Scheme program text
0	search/256	(custom-set-variables\ 	Lisp/Scheme program text
@


1.1.1.5
log
@Virgin import of Christos Zoulas's FILE 4.17.
@
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.1.1.6
log
@Virgin import of Christos Zoulas's FILE 4.21.
@
text
@d13 6
a18 8

0	search/256	(if\ 			Lisp/Scheme program text
0	search/256	(setq\ 			Lisp/Scheme program text
0	search/256	(defvar\ 		Lisp/Scheme program text
0	search/256	(defparam\ 		Lisp/Scheme program text
0	search/256	(defun\  		Lisp/Scheme program text
0	search/256	(autoload\ 		Lisp/Scheme program text
0	search/256	(custom-set-variables\ 	Lisp/Scheme program text
@


1.1.1.1.2.1
log
@MFC:  Christos Zoulas's FILE 3.33
@
text
@@


1.1.1.1.2.2
log
@Update to version 3.36.

This includes knowledge of the lh6 & lh7 "LHA" compression archive formats.
There are also many improvements in supporting other formats such as
Microsoft cabinet file (which is another popular archived format on
Windows), some audio/video file formats including WAV, ASF and so on.

Approved by:	jkh
@
text
@d9 2
a10 3
# Emacs 19+ - ver. recognition added by Ian Springer
0	string	;ELC			byte-compiled Emacs-Lisp program data,
>4	byte	>0			version %d
@


1.1.1.1.2.3
log
@MFC: file version 3.41

Approved by:	murray(re)
Desired by:		nectar(so)
@
text
@a5 2

# This is a guess, but a good one.
a6 1

d8 1
a8 1
0	string	\012(			Emacs v18 byte-compiled Lisp data
d10 3
a12 6
# 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

a16 1

a22 3

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


