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