xref: /freebsd/contrib/file/magic/Magdir/warc (revision 0b3105a37d7adcadcb720112fed4dc4e8040be99)
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