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