1835f6802SDirk Vogt 2ef01931fSBen Gras#------------------------------------------------------------------------------ 3*84d9c625SLionel Sambuc# $File: diff,v 1.14 2012/09/16 23:08:54 christos Exp $ 4ef01931fSBen Gras# diff: file(1) magic for diff(1) output 5ef01931fSBen Gras# 6ef01931fSBen Gras0 search/1 diff\ diff output text 7ef01931fSBen Gras!:mime text/x-diff 8ef01931fSBen Gras0 search/1 ***\ diff output text 9ef01931fSBen Gras!:mime text/x-diff 10ef01931fSBen Gras0 search/1 Only\ in\ diff output text 11ef01931fSBen Gras!:mime text/x-diff 12ef01931fSBen Gras0 search/1 Common\ subdirectories:\ diff output text 13ef01931fSBen Gras!:mime text/x-diff 14ef01931fSBen Gras 15ef01931fSBen Gras0 search/1 Index: RCS/CVS diff output text 16ef01931fSBen Gras!:mime text/x-diff 17835f6802SDirk Vogt 18ef01931fSBen Gras# bsdiff: file(1) magic for bsdiff(1) output 19*84d9c625SLionel Sambuc0 string/b BSDIFF40 bsdiff(1) patch file 20835f6802SDirk Vogt 21835f6802SDirk Vogt 22835f6802SDirk Vogt# unified diff 23835f6802SDirk Vogt0 search/4096 ---\ 24835f6802SDirk Vogt>&0 search/1024 \n 25835f6802SDirk Vogt>>&0 search/1 +++\ 26835f6802SDirk Vogt>>>&0 search/1024 \n 27835f6802SDirk Vogt>>>>&0 search/1 @@ unified diff output text 28835f6802SDirk Vogt!:mime text/x-diff 29835f6802SDirk Vogt!:strength + 90 30*84d9c625SLionel Sambuc 31*84d9c625SLionel Sambuc# librsync -- the library for network deltas 32*84d9c625SLionel Sambuc# 33*84d9c625SLionel Sambuc# Copyright (C) 2001 by Martin Pool. You may do whatever you want with 34*84d9c625SLionel Sambuc# this file. 35*84d9c625SLionel Sambuc# 36*84d9c625SLionel Sambuc0 belong 0x72730236 rdiff network-delta data 37*84d9c625SLionel Sambuc 38*84d9c625SLionel Sambuc0 belong 0x72730136 rdiff network-delta signature data 39*84d9c625SLionel Sambuc>4 belong x (block length=%d, 40*84d9c625SLionel Sambuc>8 belong x signature strength=%d) 41