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