xref: /freebsd/contrib/file/magic/Magdir/diff (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1
2#------------------------------------------------------------------------------
3# $File: diff,v 1.14 2012/09/16 23:08:54 christos Exp $
4# diff:  file(1) magic for diff(1) output
5#
60	search/1	diff\ 		diff output text
7!:mime	text/x-diff
80	search/1	***\ 		diff output text
9!:mime	text/x-diff
100	search/1	Only\ in\ 	diff output text
11!:mime	text/x-diff
120	search/1	Common\ subdirectories:\ 	diff output text
13!:mime	text/x-diff
14
150	search/1	Index:		RCS/CVS diff output text
16!:mime	text/x-diff
17
18# bsdiff:  file(1) magic for bsdiff(1) output
190	string/b		BSDIFF40	bsdiff(1) patch file
20
21
22# unified diff
230	search/4096	---\
24>&0	search/1024 \n
25>>&0	search/1 +++\
26>>>&0	search/1024 \n
27>>>>&0	search/1 @@	unified diff output text
28!:mime	text/x-diff
29!:strength + 90
30
31# librsync -- the library for network deltas
32#
33# Copyright (C) 2001 by Martin Pool.  You may do whatever you want with
34# this file.
35#
360	belong		0x72730236	rdiff network-delta data
37
380	belong		0x72730136	rdiff network-delta signature data
39>4	belong		x		(block length=%d,
40>8	belong		x		signature strength=%d)
41