xref: /freebsd/contrib/file/magic/Magdir/varied.script (revision b59017c5cad90d0f09a59e68c00457b7faf93e7c)
1#------------------------------------------------------------------------------
2# $File: varied.script,v 1.15 2022/10/18 13:01:30 christos Exp $
3# varied.script:  file(1) magic for various interpreter scripts
4
50	string/wt	#!\ 	a
6>&-1	string/T	x	%s script text executable
7!:strength / 3
8
90	string/wb	#!\ 	a
10>&-1	string/T	x	%s script executable (binary data)
11!:strength / 3
12
13
14# using env
150	string/wt	#!\ /usr/bin/env		a
16>15	string/T	>\0			%s script text executable
17!:strength / 6
18
190	string/wb	#!\ /usr/bin/env		a
20>15	string/T	>\0			%s script executable (binary data)
21!:strength / 6
22