xref: /freebsd/contrib/file/magic/Magdir/pascal (revision d30a1689f5b37e78ea189232a8b94a7011dc0dc8)
1#------------------------------------------------------------------------------
2# $File: pascal,v 1.4 2022/07/30 16:53:06 christos Exp $
3# pascal:  file(1) magic for Pascal source
4#
50	search/8192	(input,		Pascal source text
6!:mime	text/x-pascal
7#0	regex		\^program	Pascal source text
8#!:mime	text/x-pascal
9#0	regex           	\^record		Pascal source text
10#!:mime	text/x-pascal
11
12# Free Pascal
130	string	PPU	Pascal unit
14>3	string	x	\b, version %s
15
16# From:		Joerg Jenderek
17# URL:		https://en.wikipedia.org/wiki/Dan_Bricklin
180	string/b	Type
19# URL:		https://dl.winworldpc.com/Dan%20Bricklins%20Demo%20II%20Version%202%20Manual.7z
20# Reference:	http://mark0.net/download/triddefs_xml.7z/defs/d/dbd-v2.trid.xml
21>4	string		D2		Dan Bricklin's Demo 2 demo
22#!:mime	application/octet-stream
23!:ext	dbd
24# URL:		https://muhaz.org/turbo-pascal-download-details.html
25# From:		Joerg Jenderek
26# Note:		used by Turbo Pascal 5.5 TOUR.EXE
27>4	string		T2		Turbo Pascal TOUR data
28#!:mime	application/octet-stream
29!:mime	application/x-borland-cbt
30!:ext	cbt
31# WHAT iS THAT?
32#>4	string		\040P		Dan Bricklin's Demo 2 foo
33#!:mime	application/octet-stream
34# _PPRINT.SG2 _PASCII.SG2
35#!:ext	sg2
36# Reference:	http://mark0.net/download/triddefs_xml.7z/defs/d/dbd-gen.trid.xml
37>4	default		x		Dan Bricklin's Demo demo (generic)
38#!:mime	application/octet-stream
39!:ext	dbd
40