xref: /freebsd/contrib/file/magic/Magdir/warc (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
1
2#------------------------------------------------------------------------------
3# $File: warc,v 1.3 2010/11/25 15:05:43 christos Exp $
4# warc:  file(1) magic for WARC files
5
60	string	WARC/	WARC Archive
7>5	string	x	version %.4s
8!:mime application/warc
9
10#------------------------------------------------------------------------------
11# Arc File Format from Internet Archive
12# see http://www.archive.org/web/researcher/ArcFileFormat.php
130      string          filedesc://     Internet Archive File
14!:mime application/x-ia-arc
15>11    search/256      \x0A    \b
16>>&0   ubyte   >0      \b version %c
17