head	1.5;
access;
symbols
	file-4_20:1.4
	rpm-4_4_8-release:1.3
	rpm-4_4_7-release:1.3
	rpm-4_4_6-release:1.3
	rpm-4_4_5-release:1.3
	rpm-4_4_4-release:1.3
	rpm-4_4_3-release:1.3
	file-4_16:1.3
	jbj_before_tklcpatches:1.3
	rpm-4_4_2-release:1.3
	file-4_14:1.3
	pjones-sparse-experiment:1.3.0.4
	rpm-4_4_1-release:1.3
	file-4_12:1.3
	rpm-4_4-release:1.3
	rpm-4_4:1.3.0.2
	file-4_10:1.3
	file-4_09:1.3
	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.5
date	2007.05.09.20.00.32;	author jbj;	state Exp;
branches;
next	1.4;

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

1.3
date	2004.08.03.20.16.18;	author jbj;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2003.04.15.20.04.26;	author jbj;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

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

1.3.2.1
date	2007.05.10.17.39.22;	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.4.1
date	2004.12.07.00.57.38;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Patches from FC7 file-4.20-1.
@
text
@
#------------------------------------------------------------------------------
# commands:  file(1) magic for various shells and interpreters
#
0	string		:			shell archive or script for antique kernel text
0	string/b	#!\ /bin/sh		Bourne shell script text executable
0	string/b	#!\ /bin/csh		C shell script text executable
# korn shell magic, sent by George Wu, gwu@@clyde.att.com
0	string/b	#!\ /bin/ksh		Korn shell script text executable
0	string/b 	#!\ /bin/tcsh		Tenex C shell script text executable
0	string/b 	#!\ /usr/local/tcsh	Tenex C shell script text executable
0	string/b	#!\ /usr/local/bin/tcsh	Tenex C shell script text executable

#
# zsh/ash/ae/nawk/gawk magic from cameron@@cs.unsw.oz.au (Cameron Simpson)
0	string/b	#!\ /bin/zsh		Paul Falstad's zsh script text executable
0	string/b	#!\ /usr/bin/zsh	Paul Falstad's zsh script text executable
0	string/b	#!\ /usr/local/bin/zsh	Paul Falstad's zsh script text executable
0	string/b	#!\ /usr/local/bin/ash	Neil Brown's ash script text executable
0	string/b	#!\ /usr/local/bin/ae	Neil Brown's ae script text executable
0	string/b	#!\ /bin/nawk		new awk script text executable
0	string/b	#!\ /usr/bin/nawk	new awk script text executable
0	string/b	#!\ /usr/local/bin/nawk	new awk script text executable
0	string/b	#!\ /bin/gawk		GNU awk script text executable
0	string/b	#!\ /usr/bin/gawk	GNU awk script text executable
0	string/b	#!\ /usr/local/bin/gawk	GNU awk script text executable
#
0	string/b	#!\ /bin/awk		awk script text executable
0	string/b	#!\ /usr/bin/awk	awk script text executable
# update to distinguish from *.vcf files
#0	regex		[^'"]BEGIN[[:space:]]*[{]	awk script text

# AT&T Bell Labs' Plan 9 shell
0	string/b	#!\ /bin/rc	Plan 9 rc shell script text executable

# bash shell magic, from Peter Tobias (tobias@@server.et-inf.fho-emden.de)
0	string/b	#!\ /bin/bash	Bourne-Again shell script text executable
0	string/b	#!\ /usr/local/bin/bash	Bourne-Again shell script text executable

# using env
0	string		#!/usr/bin/env		a
>15	string		>\0			%s script text executable
0	string		#!\ /usr/bin/env	a
>16	string		>\0			%s script text executable

# PHP scripts
# Ulf Harnhammar <ulfh@@update.uu.se>
0	string/c	=<?php			PHP script text
0	string		=<?\n			PHP script text
0	string		=<?\r			PHP script text
0	string/b	#!\ /usr/local/bin/php	PHP script text executable
0	string/b	#!\ /usr/bin/php	PHP script text executable

0	string		Zend\x00		PHP script Zend Optimizer data

0	string		$!			DCL command file
@


1.4
log
@Virgin file-4.20.
@
text
@d31 1
a31 1
0	regex		BEGIN[[:space:]]*[{]	awk script text
@


1.3
log
@Upgrade to file-4.09.
@
text
@d30 2
a31 1
0	string		BEGIN			awk script text
d55 2
@


1.3.2.1
log
@Upgrade to file-4.20 internal.
@
text
@d30 1
a30 2
# update to distinguish from *.vcf files
#0	regex		[^'"]BEGIN[[:space:]]*[{]	awk script text
a53 2

0	string		$!			DCL command file
@


1.2
log
@Merge file-4.02 changes.
@
text
@d16 2
a17 2
0	string/b	#!\ /bin		Paul Falstad's zsh script text executable
0	string/b	#!\ /usr/bin		Paul Falstad's zsh script text executable
a43 11


# generic shell magic
0	string		#!\ /			a
>3	string		>\0			%s script text executable
0	string		#!\	/		a
>3	string		>\0			%s script text executable
0	string		#!/			a
>2	string		>\0			%s script text executable
0	string		#!\ 			script text executable
>3	string		>\0			for %s
@


1.2.4.1
log
@- port to internal file-4.10 libmagic rather than libfmagic.
@
text
@d16 2
a17 2
0	string/b	#!\ /bin/zsh		Paul Falstad's zsh script text executable
0	string/b	#!\ /usr/bin/zsh	Paul Falstad's zsh script text executable
d44 11
@


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


1.1
log
@Move magic creation to sub-directory.
@
text
@d16 2
@

