xref: /freebsd/contrib/file/magic/Magdir/diff (revision 3806950135d2c8633ec0764e8807eacc87cf3e10)
1
2#------------------------------------------------------------------------------
3# $File: diff,v 1.16 2017/03/17 22:20:22 christos Exp $
4# diff:  file(1) magic for diff(1) output
5#
60	search/1	diff\040	diff output text
7!:mime	text/x-diff
80	search/1	***\040 	diff output text
9!:mime	text/x-diff
100	search/1	Only\040in\040 	diff output text
11!:mime	text/x-diff
120	search/1	Common\040subdirectories:\040 	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	---\040
24>&0	search/1024 \n
25>>&0	search/1 +++\040
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