home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Amigaguide Document
(document/amigaGuide).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Amigaguide Document (document/amigaGuide)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| AmigaGuide file, ISO-8859 text
| default
| |
100%
| TrID
| Scribe Markup
| default (weak)
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| x-fmt/111 Plain Text File
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 40 44 61 74 61 42 61 73 | 65 20 64 69 66 66 0a 40 |@DataBas|e diff.@|
|00000010| 4d 61 73 74 65 72 20 64 | 69 66 66 0a 40 28 43 29 |Master d|iff.@(C)|
|00000020| 20 74 72 61 6e 73 6c 61 | 74 69 6f 6e 20 66 72 6f | transla|tion fro|
|00000030| 6d 20 4d 61 6b 65 69 6e | 66 6f 20 62 79 20 49 6e |m Makein|fo by In|
|00000040| 66 6f 32 47 75 69 64 65 | 2e 52 45 58 58 20 a9 20 |fo2Guide|.REXX . |
|00000050| 31 39 39 33 20 41 2e 50 | 6f 6e 7a 69 6f 0a 23 23 |1993 A.P|onzio.##|
|00000060| 0a 40 4e 6f 64 65 20 4d | 61 69 6e 20 22 64 69 66 |.@Node M|ain "dif|
|00000070| 66 22 0a 0a 28 49 6e 64 | 69 72 65 63 74 29 0a 20 |f"..(Ind|irect). |
|00000080| 40 7b 22 20 54 6f 70 20 | 22 20 4c 69 6e 6b 20 22 |@{" Top |" Link "|
|00000090| 54 6f 70 22 7d 0a 20 40 | 7b 22 20 4f 76 65 72 76 |Top"}. @|{" Overv|
|000000a0| 69 65 77 20 22 20 4c 69 | 6e 6b 20 22 4f 76 65 72 |iew " Li|nk "Over|
|000000b0| 76 69 65 77 22 7d 0a 20 | 40 7b 22 20 43 6f 6d 70 |view"}. |@{" Comp|
|000000c0| 61 72 69 73 6f 6e 20 22 | 20 4c 69 6e 6b 20 22 43 |arison "| Link "C|
|000000d0| 6f 6d 70 61 72 69 73 6f | 6e 22 7d 0a 20 40 7b 22 |ompariso|n"}. @{"|
|000000e0| 20 48 75 6e 6b 73 20 22 | 20 4c 69 6e 6b 20 22 48 | Hunks "| Link "H|
|000000f0| 75 6e 6b 73 22 7d 0a 20 | 40 7b 22 20 57 68 69 74 |unks"}. |@{" Whit|
|00000100| 65 20 53 70 61 63 65 20 | 22 20 4c 69 6e 6b 20 22 |e Space |" Link "|
|00000110| 57 68 69 74 65 20 53 70 | 61 63 65 22 7d 0a 20 40 |White Sp|ace"}. @|
|00000120| 7b 22 20 42 6c 61 6e 6b | 20 4c 69 6e 65 73 20 22 |{" Blank| Lines "|
|00000130| 20 4c 69 6e 6b 20 22 42 | 6c 61 6e 6b 20 4c 69 6e | Link "B|lank Lin|
|00000140| 65 73 22 7d 0a 20 40 7b | 22 20 43 61 73 65 20 46 |es"}. @{|" Case F|
|00000150| 6f 6c 64 69 6e 67 20 22 | 20 4c 69 6e 6b 20 22 43 |olding "| Link "C|
|00000160| 61 73 65 20 46 6f 6c 64 | 69 6e 67 22 7d 0a 20 40 |ase Fold|ing"}. @|
|00000170| 7b 22 20 53 70 65 63 69 | 66 69 65 64 20 46 6f 6c |{" Speci|fied Fol|
|00000180| 64 69 6e 67 20 22 20 4c | 69 6e 6b 20 22 53 70 65 |ding " L|ink "Spe|
|00000190| 63 69 66 69 65 64 20 46 | 6f 6c 64 69 6e 67 22 7d |cified F|olding"}|
|000001a0| 0a 20 40 7b 22 20 42 72 | 69 65 66 20 22 20 4c 69 |. @{" Br|ief " Li|
|000001b0| 6e 6b 20 22 42 72 69 65 | 66 22 7d 0a 20 40 7b 22 |nk "Brie|f"}. @{"|
|000001c0| 20 42 69 6e 61 72 79 20 | 22 20 4c 69 6e 6b 20 22 | Binary |" Link "|
|000001d0| 42 69 6e 61 72 79 22 7d | 0a 20 40 7b 22 20 4f 75 |Binary"}|. @{" Ou|
|000001e0| 74 70 75 74 20 46 6f 72 | 6d 61 74 73 20 22 20 4c |tput For|mats " L|
|000001f0| 69 6e 6b 20 22 4f 75 74 | 70 75 74 20 46 6f 72 6d |ink "Out|put Form|
|00000200| 61 74 73 22 7d 0a 20 40 | 7b 22 20 53 61 6d 70 6c |ats"}. @|{" Sampl|
|00000210| 65 20 64 69 66 66 20 49 | 6e 70 75 74 20 22 20 4c |e diff I|nput " L|
|00000220| 69 6e 6b 20 22 53 61 6d | 70 6c 65 20 64 69 66 66 |ink "Sam|ple diff|
|00000230| 20 49 6e 70 75 74 22 7d | 0a 20 40 7b 22 20 4e 6f | Input"}|. @{" No|
|00000240| 72 6d 61 6c 20 22 20 4c | 69 6e 6b 20 22 4e 6f 72 |rmal " L|ink "Nor|
|00000250| 6d 61 6c 22 7d 0a 20 40 | 7b 22 20 44 65 74 61 69 |mal"}. @|{" Detai|
|00000260| 6c 65 64 20 4e 6f 72 6d | 61 6c 20 22 20 4c 69 6e |led Norm|al " Lin|
|00000270| 6b 20 22 44 65 74 61 69 | 6c 65 64 20 4e 6f 72 6d |k "Detai|led Norm|
|00000280| 61 6c 22 7d 0a 20 40 7b | 22 20 45 78 61 6d 70 6c |al"}. @{|" Exampl|
|00000290| 65 20 4e 6f 72 6d 61 6c | 20 22 20 4c 69 6e 6b 20 |e Normal| " Link |
|000002a0| 22 45 78 61 6d 70 6c 65 | 20 4e 6f 72 6d 61 6c 22 |"Example| Normal"|
|000002b0| 7d 0a 20 40 7b 22 20 43 | 6f 6e 74 65 78 74 20 22 |}. @{" C|ontext "|
|000002c0| 20 4c 69 6e 6b 20 22 43 | 6f 6e 74 65 78 74 22 7d | Link "C|ontext"}|
|000002d0| 0a 20 40 7b 22 20 43 6f | 6e 74 65 78 74 20 46 6f |. @{" Co|ntext Fo|
|000002e0| 72 6d 61 74 20 22 20 4c | 69 6e 6b 20 22 43 6f 6e |rmat " L|ink "Con|
|000002f0| 74 65 78 74 20 46 6f 72 | 6d 61 74 22 7d 0a 20 40 |text For|mat"}. @|
|00000300| 7b 22 20 44 65 74 61 69 | 6c 65 64 20 43 6f 6e 74 |{" Detai|led Cont|
|00000310| 65 78 74 20 22 20 4c 69 | 6e 6b 20 22 44 65 74 61 |ext " Li|nk "Deta|
|00000320| 69 6c 65 64 20 43 6f 6e | 74 65 78 74 22 7d 0a 20 |iled Con|text"}. |
|00000330| 40 7b 22 20 45 78 61 6d | 70 6c 65 20 43 6f 6e 74 |@{" Exam|ple Cont|
|00000340| 65 78 74 20 22 20 4c 69 | 6e 6b 20 22 45 78 61 6d |ext " Li|nk "Exam|
|00000350| 70 6c 65 20 43 6f 6e 74 | 65 78 74 22 7d 0a 20 40 |ple Cont|ext"}. @|
|00000360| 7b 22 20 4c 65 73 73 20 | 43 6f 6e 74 65 78 74 20 |{" Less |Context |
|00000370| 22 20 4c 69 6e 6b 20 22 | 4c 65 73 73 20 43 6f 6e |" Link "|Less Con|
|00000380| 74 65 78 74 22 7d 0a 20 | 40 7b 22 20 55 6e 69 66 |text"}. |@{" Unif|
|00000390| 69 65 64 20 46 6f 72 6d | 61 74 20 22 20 4c 69 6e |ied Form|at " Lin|
|000003a0| 6b 20 22 55 6e 69 66 69 | 65 64 20 46 6f 72 6d 61 |k "Unifi|ed Forma|
|000003b0| 74 22 7d 0a 20 40 7b 22 | 20 44 65 74 61 69 6c 65 |t"}. @{"| Detaile|
|000003c0| 64 20 55 6e 69 66 69 65 | 64 20 22 20 4c 69 6e 6b |d Unifie|d " Link|
|000003d0| 20 22 44 65 74 61 69 6c | 65 64 20 55 6e 69 66 69 | "Detail|ed Unifi|
|000003e0| 65 64 22 7d 0a 20 40 7b | 22 20 45 78 61 6d 70 6c |ed"}. @{|" Exampl|
|000003f0| 65 20 55 6e 69 66 69 65 | 64 20 22 20 4c 69 6e 6b |e Unifie|d " Link|
|00000400| 20 22 45 78 61 6d 70 6c | 65 20 55 6e 69 66 69 65 | "Exampl|e Unifie|
|00000410| 64 22 7d 0a 20 40 7b 22 | 20 53 65 63 74 69 6f 6e |d"}. @{"| Section|
|00000420| 73 20 22 20 4c 69 6e 6b | 20 22 53 65 63 74 69 6f |s " Link| "Sectio|
|00000430| 6e 73 22 7d 0a 20 40 7b | 22 20 53 70 65 63 69 66 |ns"}. @{|" Specif|
|00000440| 69 65 64 20 48 65 61 64 | 69 6e 67 73 20 22 20 4c |ied Head|ings " L|
|00000450| 69 6e 6b 20 22 53 70 65 | 63 69 66 69 65 64 20 48 |ink "Spe|cified H|
|00000460| 65 61 64 69 6e 67 73 22 | 7d 0a 20 40 7b 22 20 43 |eadings"|}. @{" C|
|00000470| 20 46 75 6e 63 74 69 6f | 6e 20 48 65 61 64 69 6e | Functio|n Headin|
|00000480| 67 73 20 22 20 4c 69 6e | 6b 20 22 43 20 46 75 6e |gs " Lin|k "C Fun|
|00000490| 63 74 69 6f 6e 20 48 65 | 61 64 69 6e 67 73 22 7d |ction He|adings"}|
|000004a0| 0a 20 40 7b 22 20 41 6c | 74 65 72 6e 61 74 65 20 |. @{" Al|ternate |
|000004b0| 4e 61 6d 65 73 20 22 20 | 4c 69 6e 6b 20 22 41 6c |Names " |Link "Al|
|000004c0| 74 65 72 6e 61 74 65 20 | 4e 61 6d 65 73 22 7d 0a |ternate |Names"}.|
|000004d0| 20 40 7b 22 20 53 69 64 | 65 20 62 79 20 53 69 64 | @{" Sid|e by Sid|
|000004e0| 65 20 22 20 4c 69 6e 6b | 20 22 53 69 64 65 20 62 |e " Link| "Side b|
|000004f0| 79 20 53 69 64 65 22 7d | 0a 20 40 7b 22 20 53 69 |y Side"}|. @{" Si|
|00000500| 64 65 20 62 79 20 53 69 | 64 65 20 46 6f 72 6d 61 |de by Si|de Forma|
|00000510| 74 20 22 20 4c 69 6e 6b | 20 22 53 69 64 65 20 62 |t " Link| "Side b|
|00000520| 79 20 53 69 64 65 20 46 | 6f 72 6d 61 74 22 7d 0a |y Side F|ormat"}.|
|00000530| 20 40 7b 22 20 45 78 61 | 6d 70 6c 65 20 53 69 64 | @{" Exa|mple Sid|
|00000540| 65 20 62 79 20 53 69 64 | 65 20 22 20 4c 69 6e 6b |e by Sid|e " Link|
|00000550| 20 22 45 78 61 6d 70 6c | 65 20 53 69 64 65 20 62 | "Exampl|e Side b|
|00000560| 79 20 53 69 64 65 22 7d | 0a 20 40 7b 22 20 53 63 |y Side"}|. @{" Sc|
|00000570| 72 69 70 74 73 20 22 20 | 4c 69 6e 6b 20 22 53 63 |ripts " |Link "Sc|
|00000580| 72 69 70 74 73 22 7d 0a | 20 40 7b 22 20 65 64 20 |ripts"}.| @{" ed |
|00000590| 53 63 72 69 70 74 73 20 | 22 20 4c 69 6e 6b 20 22 |Scripts |" Link "|
|000005a0| 65 64 20 53 63 72 69 70 | 74 73 22 7d 0a 20 40 7b |ed Scrip|ts"}. @{|
|000005b0| 22 20 44 65 74 61 69 6c | 65 64 20 65 64 20 22 20 |" Detail|ed ed " |
|000005c0| 4c 69 6e 6b 20 22 44 65 | 74 61 69 6c 65 64 20 65 |Link "De|tailed e|
|000005d0| 64 22 7d 0a 20 40 7b 22 | 20 45 78 61 6d 70 6c 65 |d"}. @{"| Example|
|000005e0| 20 65 64 20 22 20 4c 69 | 6e 6b 20 22 45 78 61 6d | ed " Li|nk "Exam|
|000005f0| 70 6c 65 20 65 64 22 7d | 0a 20 40 7b 22 20 46 6f |ple ed"}|. @{" Fo|
|00000600| 72 77 61 72 64 20 65 64 | 20 22 20 4c 69 6e 6b 20 |rward ed| " Link |
|00000610| 22 46 6f 72 77 61 72 64 | 20 65 64 22 7d 0a 20 40 |"Forward| ed"}. @|
|00000620| 7b 22 20 52 43 53 20 22 | 20 4c 69 6e 6b 20 22 52 |{" RCS "| Link "R|
|00000630| 43 53 22 7d 0a 20 40 7b | 22 20 49 66 2d 74 68 65 |CS"}. @{|" If-the|
|00000640| 6e 2d 65 6c 73 65 20 22 | 20 4c 69 6e 6b 20 22 49 |n-else "| Link "I|
|00000650| 66 2d 74 68 65 6e 2d 65 | 6c 73 65 22 7d 0a 20 40 |f-then-e|lse"}. @|
|00000660| 7b 22 20 4c 69 6e 65 20 | 47 72 6f 75 70 20 46 6f |{" Line |Group Fo|
|00000670| 72 6d 61 74 73 20 22 20 | 4c 69 6e 6b 20 22 4c 69 |rmats " |Link "Li|
|00000680| 6e 65 20 47 72 6f 75 70 | 20 46 6f 72 6d 61 74 73 |ne Group| Formats|
|00000690| 22 7d 0a 20 40 7b 22 20 | 4c 69 6e 65 20 46 6f 72 |"}. @{" |Line For|
|000006a0| 6d 61 74 73 20 22 20 4c | 69 6e 6b 20 22 4c 69 6e |mats " L|ink "Lin|
|000006b0| 65 20 46 6f 72 6d 61 74 | 73 22 7d 0a 20 40 7b 22 |e Format|s"}. @{"|
|000006c0| 20 44 65 74 61 69 6c 65 | 64 20 49 66 2d 74 68 65 | Detaile|d If-the|
|000006d0| 6e 2d 65 6c 73 65 20 22 | 20 4c 69 6e 6b 20 22 44 |n-else "| Link "D|
|000006e0| 65 74 61 69 6c 65 64 20 | 49 66 2d 74 68 65 6e 2d |etailed |If-then-|
|000006f0| 65 6c 73 65 22 7d 0a 20 | 40 7b 22 20 45 78 61 6d |else"}. |@{" Exam|
|00000700| 70 6c 65 20 49 66 2d 74 | 68 65 6e 2d 65 6c 73 65 |ple If-t|hen-else|
|00000710| 20 22 20 4c 69 6e 6b 20 | 22 45 78 61 6d 70 6c 65 | " Link |"Example|
|00000720| 20 49 66 2d 74 68 65 6e | 2d 65 6c 73 65 22 7d 0a | If-then|-else"}.|
|00000730| 20 40 7b 22 20 43 6f 6d | 70 61 72 69 6e 67 20 44 | @{" Com|paring D|
|00000740| 69 72 65 63 74 6f 72 69 | 65 73 20 22 20 4c 69 6e |irectori|es " Lin|
|00000750| 6b 20 22 43 6f 6d 70 61 | 72 69 6e 67 20 44 69 72 |k "Compa|ring Dir|
|00000760| 65 63 74 6f 72 69 65 73 | 22 7d 0a 20 40 7b 22 20 |ectories|"}. @{" |
|00000770| 41 64 6a 75 73 74 69 6e | 67 20 4f 75 74 70 75 74 |Adjustin|g Output|
|00000780| 20 22 20 4c 69 6e 6b 20 | 22 41 64 6a 75 73 74 69 | " Link |"Adjusti|
|00000790| 6e 67 20 4f 75 74 70 75 | 74 22 7d 0a 20 40 7b 22 |ng Outpu|t"}. @{"|
|000007a0| 20 54 61 62 73 20 22 20 | 4c 69 6e 6b 20 22 54 61 | Tabs " |Link "Ta|
|000007b0| 62 73 22 7d 0a 20 40 7b | 22 20 50 61 67 69 6e 61 |bs"}. @{|" Pagina|
|000007c0| 74 69 6f 6e 20 22 20 4c | 69 6e 6b 20 22 50 61 67 |tion " L|ink "Pag|
|000007d0| 69 6e 61 74 69 6f 6e 22 | 7d 0a 20 40 7b 22 20 64 |ination"|}. @{" d|
|000007e0| 69 66 66 20 50 65 72 66 | 6f 72 6d 61 6e 63 65 20 |iff Perf|ormance |
|000007f0| 22 20 4c 69 6e 6b 20 22 | 64 69 66 66 20 50 65 72 |" Link "|diff Per|
|00000800| 66 6f 72 6d 61 6e 63 65 | 22 7d 0a 20 40 7b 22 20 |formance|"}. @{" |
|00000810| 43 6f 6d 70 61 72 69 6e | 67 20 54 68 72 65 65 20 |Comparin|g Three |
|00000820| 46 69 6c 65 73 20 22 20 | 4c 69 6e 6b 20 22 43 6f |Files " |Link "Co|
|00000830| 6d 70 61 72 69 6e 67 20 | 54 68 72 65 65 20 46 69 |mparing |Three Fi|
|00000840| 6c 65 73 22 7d 0a 20 40 | 7b 22 20 53 61 6d 70 6c |les"}. @|{" Sampl|
|00000850| 65 20 64 69 66 66 33 20 | 49 6e 70 75 74 20 22 20 |e diff3 |Input " |
|00000860| 4c 69 6e 6b 20 22 53 61 | 6d 70 6c 65 20 64 69 66 |Link "Sa|mple dif|
|00000870| 66 33 20 49 6e 70 75 74 | 22 7d 0a 20 40 7b 22 20 |f3 Input|"}. @{" |
|00000880| 44 65 74 61 69 6c 65 64 | 20 64 69 66 66 33 20 4e |Detailed| diff3 N|
|00000890| 6f 72 6d 61 6c 20 22 20 | 4c 69 6e 6b 20 22 44 65 |ormal " |Link "De|
|000008a0| 74 61 69 6c 65 64 20 64 | 69 66 66 33 20 4e 6f 72 |tailed d|iff3 Nor|
|000008b0| 6d 61 6c 22 7d 0a 20 40 | 7b 22 20 64 69 66 66 33 |mal"}. @|{" diff3|
|000008c0| 20 48 75 6e 6b 73 20 22 | 20 4c 69 6e 6b 20 22 64 | Hunks "| Link "d|
|000008d0| 69 66 66 33 20 48 75 6e | 6b 73 22 7d 0a 20 40 7b |iff3 Hun|ks"}. @{|
|000008e0| 22 20 45 78 61 6d 70 6c | 65 20 64 69 66 66 33 20 |" Exampl|e diff3 |
|000008f0| 4e 6f 72 6d 61 6c 20 22 | 20 4c 69 6e 6b 20 22 45 |Normal "| Link "E|
|00000900| 78 61 6d 70 6c 65 20 64 | 69 66 66 33 20 4e 6f 72 |xample d|iff3 Nor|
|00000910| 6d 61 6c 22 7d 0a 20 40 | 7b 22 20 64 69 66 66 33 |mal"}. @|{" diff3|
|00000920| 20 4d 65 72 67 69 6e 67 | 20 22 20 4c 69 6e 6b 20 | Merging| " Link |
|00000930| 22 64 69 66 66 33 20 4d | 65 72 67 69 6e 67 22 7d |"diff3 M|erging"}|
|00000940| 0a 20 40 7b 22 20 57 68 | 69 63 68 20 43 68 61 6e |. @{" Wh|ich Chan|
|00000950| 67 65 73 20 22 20 4c 69 | 6e 6b 20 22 57 68 69 63 |ges " Li|nk "Whic|
|00000960| 68 20 43 68 61 6e 67 65 | 73 22 7d 0a 20 40 7b 22 |h Change|s"}. @{"|
|00000970| 20 4d 61 72 6b 69 6e 67 | 20 43 6f 6e 66 6c 69 63 | Marking| Conflic|
|00000980| 74 73 20 22 20 4c 69 6e | 6b 20 22 4d 61 72 6b 69 |ts " Lin|k "Marki|
|00000990| 6e 67 20 43 6f 6e 66 6c | 69 63 74 73 22 7d 0a 20 |ng Confl|icts"}. |
|000009a0| 40 7b 22 20 42 79 70 61 | 73 73 69 6e 67 20 65 64 |@{" Bypa|ssing ed|
|000009b0| 20 22 20 4c 69 6e 6b 20 | 22 42 79 70 61 73 73 69 | " Link |"Bypassi|
|000009c0| 6e 67 20 65 64 22 7d 0a | 20 40 7b 22 20 4d 65 72 |ng ed"}.| @{" Mer|
|000009d0| 67 69 6e 67 20 49 6e 63 | 6f 6d 70 6c 65 74 65 20 |ging Inc|omplete |
|000009e0| 4c 69 6e 65 73 20 22 20 | 4c 69 6e 6b 20 22 4d 65 |Lines " |Link "Me|
|000009f0| 72 67 69 6e 67 20 49 6e | 63 6f 6d 70 6c 65 74 65 |rging In|complete|
|00000a00| 20 4c 69 6e 65 73 22 7d | 0a 20 40 7b 22 20 53 61 | Lines"}|. @{" Sa|
|00000a10| 76 69 6e 67 20 74 68 65 | 20 43 68 61 6e 67 65 64 |ving the| Changed|
|00000a20| 20 46 69 6c 65 20 22 20 | 4c 69 6e 6b 20 22 53 61 | File " |Link "Sa|
|00000a30| 76 69 6e 67 20 74 68 65 | 20 43 68 61 6e 67 65 64 |ving the| Changed|
|00000a40| 20 46 69 6c 65 22 7d 0a | 20 40 7b 22 20 49 6e 74 | File"}.| @{" Int|
|00000a50| 65 72 61 63 74 69 76 65 | 20 4d 65 72 67 69 6e 67 |eractive| Merging|
|00000a60| 20 22 20 4c 69 6e 6b 20 | 22 49 6e 74 65 72 61 63 | " Link |"Interac|
|00000a70| 74 69 76 65 20 4d 65 72 | 67 69 6e 67 22 7d 0a 20 |tive Mer|ging"}. |
|00000a80| 40 7b 22 20 73 64 69 66 | 66 20 4f 70 74 69 6f 6e |@{" sdif|f Option|
|00000a90| 20 53 75 6d 6d 61 72 79 | 20 22 20 4c 69 6e 6b 20 | Summary| " Link |
|00000aa0| 22 73 64 69 66 66 20 4f | 70 74 69 6f 6e 20 53 75 |"sdiff O|ption Su|
|00000ab0| 6d 6d 61 72 79 22 7d 0a | 20 40 7b 22 20 4d 65 72 |mmary"}.| @{" Mer|
|00000ac0| 67 65 20 43 6f 6d 6d 61 | 6e 64 73 20 22 20 4c 69 |ge Comma|nds " Li|
|00000ad0| 6e 6b 20 22 4d 65 72 67 | 65 20 43 6f 6d 6d 61 6e |nk "Merg|e Comman|
|00000ae0| 64 73 22 7d 0a 20 40 7b | 22 20 4d 65 72 67 69 6e |ds"}. @{|" Mergin|
|00000af0| 67 20 77 69 74 68 20 70 | 61 74 63 68 20 22 20 4c |g with p|atch " L|
|00000b00| 69 6e 6b 20 22 4d 65 72 | 67 69 6e 67 20 77 69 74 |ink "Mer|ging wit|
|00000b10| 68 20 70 61 74 63 68 22 | 7d 0a 20 40 7b 22 20 70 |h patch"|}. @{" p|
|00000b20| 61 74 63 68 20 49 6e 70 | 75 74 20 22 20 4c 69 6e |atch Inp|ut " Lin|
|00000b30| 6b 20 22 70 61 74 63 68 | 20 49 6e 70 75 74 22 7d |k "patch| Input"}|
|00000b40| 0a 20 40 7b 22 20 49 6d | 70 65 72 66 65 63 74 20 |. @{" Im|perfect |
|00000b50| 22 20 4c 69 6e 6b 20 22 | 49 6d 70 65 72 66 65 63 |" Link "|Imperfec|
|00000b60| 74 22 7d 0a 20 40 7b 22 | 20 43 68 61 6e 67 65 64 |t"}. @{"| Changed|
|00000b70| 20 57 68 69 74 65 20 53 | 70 61 63 65 20 22 20 4c | White S|pace " L|
|00000b80| 69 6e 6b 20 22 43 68 61 | 6e 67 65 64 20 57 68 69 |ink "Cha|nged Whi|
|00000b90| 74 65 20 53 70 61 63 65 | 22 7d 0a 20 40 7b 22 20 |te Space|"}. @{" |
|00000ba0| 52 65 76 65 72 73 65 64 | 20 50 61 74 63 68 65 73 |Reversed| Patches|
|00000bb0| 20 22 20 4c 69 6e 6b 20 | 22 52 65 76 65 72 73 65 | " Link |"Reverse|
|00000bc0| 64 20 50 61 74 63 68 65 | 73 22 7d 0a 20 40 7b 22 |d Patche|s"}. @{"|
|00000bd0| 20 49 6e 65 78 61 63 74 | 20 22 20 4c 69 6e 6b 20 | Inexact| " Link |
|00000be0| 22 49 6e 65 78 61 63 74 | 22 7d 0a 20 40 7b 22 20 |"Inexact|"}. @{" |
|00000bf0| 45 6d 70 74 79 20 46 69 | 6c 65 73 20 22 20 4c 69 |Empty Fi|les " Li|
|00000c00| 6e 6b 20 22 45 6d 70 74 | 79 20 46 69 6c 65 73 22 |nk "Empt|y Files"|
|00000c10| 7d 0a 20 40 7b 22 20 4d | 75 6c 74 69 70 6c 65 20 |}. @{" M|ultiple |
|00000c20| 50 61 74 63 68 65 73 20 | 22 20 4c 69 6e 6b 20 22 |Patches |" Link "|
|00000c30| 4d 75 6c 74 69 70 6c 65 | 20 50 61 74 63 68 65 73 |Multiple| Patches|
|00000c40| 22 7d 0a 20 40 7b 22 20 | 70 61 74 63 68 20 4d 65 |"}. @{" |patch Me|
|00000c50| 73 73 61 67 65 73 20 22 | 20 4c 69 6e 6b 20 22 70 |ssages "| Link "p|
|00000c60| 61 74 63 68 20 4d 65 73 | 73 61 67 65 73 22 7d 0a |atch Mes|sages"}.|
|00000c70| 20 40 7b 22 20 4d 61 6b | 69 6e 67 20 50 61 74 63 | @{" Mak|ing Patc|
|00000c80| 68 65 73 20 22 20 4c 69 | 6e 6b 20 22 4d 61 6b 69 |hes " Li|nk "Maki|
|00000c90| 6e 67 20 50 61 74 63 68 | 65 73 22 7d 0a 20 40 7b |ng Patch|es"}. @{|
|00000ca0| 22 20 49 6e 76 6f 6b 69 | 6e 67 20 63 6d 70 20 22 |" Invoki|ng cmp "|
|00000cb0| 20 4c 69 6e 6b 20 22 49 | 6e 76 6f 6b 69 6e 67 20 | Link "I|nvoking |
|00000cc0| 63 6d 70 22 7d 0a 20 40 | 7b 22 20 63 6d 70 20 4f |cmp"}. @|{" cmp O|
|00000cd0| 70 74 69 6f 6e 73 20 22 | 20 4c 69 6e 6b 20 22 63 |ptions "| Link "c|
|00000ce0| 6d 70 20 4f 70 74 69 6f | 6e 73 22 7d 0a 20 40 7b |mp Optio|ns"}. @{|
|00000cf0| 22 20 49 6e 76 6f 6b 69 | 6e 67 20 64 69 66 66 20 |" Invoki|ng diff |
|00000d00| 22 20 4c 69 6e 6b 20 22 | 49 6e 76 6f 6b 69 6e 67 |" Link "|Invoking|
|00000d10| 20 64 69 66 66 22 7d 0a | 20 40 7b 22 20 64 69 66 | diff"}.| @{" dif|
|00000d20| 66 20 4f 70 74 69 6f 6e | 73 20 22 20 4c 69 6e 6b |f Option|s " Link|
|00000d30| 20 22 64 69 66 66 20 4f | 70 74 69 6f 6e 73 22 7d | "diff O|ptions"}|
|00000d40| 0a 20 40 7b 22 20 49 6e | 76 6f 6b 69 6e 67 20 64 |. @{" In|voking d|
|00000d50| 69 66 66 33 20 22 20 4c | 69 6e 6b 20 22 49 6e 76 |iff3 " L|ink "Inv|
|00000d60| 6f 6b 69 6e 67 20 64 69 | 66 66 33 22 7d 0a 20 40 |oking di|ff3"}. @|
|00000d70| 7b 22 20 64 69 66 66 33 | 20 4f 70 74 69 6f 6e 73 |{" diff3| Options|
|00000d80| 20 22 20 4c 69 6e 6b 20 | 22 64 69 66 66 33 20 4f | " Link |"diff3 O|
|00000d90| 70 74 69 6f 6e 73 22 7d | 0a 20 40 7b 22 20 49 6e |ptions"}|. @{" In|
|00000da0| 76 6f 6b 69 6e 67 20 70 | 61 74 63 68 20 22 20 4c |voking p|atch " L|
|00000db0| 69 6e 6b 20 22 49 6e 76 | 6f 6b 69 6e 67 20 70 61 |ink "Inv|oking pa|
|00000dc0| 74 63 68 22 7d 0a 20 40 | 7b 22 20 70 61 74 63 68 |tch"}. @|{" patch|
|00000dd0| 20 44 69 72 65 63 74 6f | 72 69 65 73 20 22 20 4c | Directo|ries " L|
|00000de0| 69 6e 6b 20 22 70 61 74 | 63 68 20 44 69 72 65 63 |ink "pat|ch Direc|
|00000df0| 74 6f 72 69 65 73 22 7d | 0a 20 40 7b 22 20 42 61 |tories"}|. @{" Ba|
|00000e00| 63 6b 75 70 73 20 22 20 | 4c 69 6e 6b 20 22 42 61 |ckups " |Link "Ba|
|00000e10| 63 6b 75 70 73 22 7d 0a | 20 40 7b 22 20 52 65 6a |ckups"}.| @{" Rej|
|00000e20| 65 63 74 73 20 22 20 4c | 69 6e 6b 20 22 52 65 6a |ects " L|ink "Rej|
|00000e30| 65 63 74 73 22 7d 0a 20 | 40 7b 22 20 70 61 74 63 |ects"}. |@{" patc|
|00000e40| 68 20 4f 70 74 69 6f 6e | 73 20 22 20 4c 69 6e 6b |h Option|s " Link|
|00000e50| 20 22 70 61 74 63 68 20 | 4f 70 74 69 6f 6e 73 22 | "patch |Options"|
|00000e60| 7d 0a 20 40 7b 22 20 49 | 6e 76 6f 6b 69 6e 67 20 |}. @{" I|nvoking |
|00000e70| 73 64 69 66 66 20 22 20 | 4c 69 6e 6b 20 22 49 6e |sdiff " |Link "In|
|00000e80| 76 6f 6b 69 6e 67 20 73 | 64 69 66 66 22 7d 0a 20 |voking s|diff"}. |
|00000e90| 40 7b 22 20 73 64 69 66 | 66 20 4f 70 74 69 6f 6e |@{" sdif|f Option|
|00000ea0| 73 20 22 20 4c 69 6e 6b | 20 22 73 64 69 66 66 20 |s " Link| "sdiff |
|00000eb0| 4f 70 74 69 6f 6e 73 22 | 7d 0a 20 40 7b 22 20 49 |Options"|}. @{" I|
|00000ec0| 6e 63 6f 6d 70 6c 65 74 | 65 20 4c 69 6e 65 73 20 |ncomplet|e Lines |
|00000ed0| 22 20 4c 69 6e 6b 20 22 | 49 6e 63 6f 6d 70 6c 65 |" Link "|Incomple|
|00000ee0| 74 65 20 4c 69 6e 65 73 | 22 7d 0a 20 40 7b 22 20 |te Lines|"}. @{" |
|00000ef0| 50 72 6f 6a 65 63 74 73 | 20 22 20 4c 69 6e 6b 20 |Projects| " Link |
|00000f00| 22 50 72 6f 6a 65 63 74 | 73 22 7d 0a 20 40 7b 22 |"Project|s"}. @{"|
|00000f10| 20 53 68 6f 72 74 63 6f | 6d 69 6e 67 73 20 22 20 | Shortco|mings " |
|00000f20| 4c 69 6e 6b 20 22 53 68 | 6f 72 74 63 6f 6d 69 6e |Link "Sh|ortcomin|
|00000f30| 67 73 22 7d 0a 20 40 7b | 22 20 43 68 61 6e 67 69 |gs"}. @{|" Changi|
|00000f40| 6e 67 20 53 74 72 75 63 | 74 75 72 65 20 22 20 4c |ng Struc|ture " L|
|00000f50| 69 6e 6b 20 22 43 68 61 | 6e 67 69 6e 67 20 53 74 |ink "Cha|nging St|
|00000f60| 72 75 63 74 75 72 65 22 | 7d 0a 20 40 7b 22 20 53 |ructure"|}. @{" S|
|00000f70| 70 65 63 69 61 6c 20 46 | 69 6c 65 73 20 22 20 4c |pecial F|iles " L|
|00000f80| 69 6e 6b 20 22 53 70 65 | 63 69 61 6c 20 46 69 6c |ink "Spe|cial Fil|
|00000f90| 65 73 22 7d 0a 20 40 7b | 22 20 55 6e 75 73 75 61 |es"}. @{|" Unusua|
|00000fa0| 6c 20 46 69 6c 65 20 4e | 61 6d 65 73 20 22 20 4c |l File N|ames " L|
|00000fb0| 69 6e 6b 20 22 55 6e 75 | 73 75 61 6c 20 46 69 6c |ink "Unu|sual Fil|
|00000fc0| 65 20 4e 61 6d 65 73 22 | 7d 0a 20 40 7b 22 20 41 |e Names"|}. @{" A|
|00000fd0| 72 62 69 74 72 61 72 79 | 20 4c 69 6d 69 74 73 20 |rbitrary| Limits |
|00000fe0| 22 20 4c 69 6e 6b 20 22 | 41 72 62 69 74 72 61 72 |" Link "|Arbitrar|
|00000ff0| 79 20 4c 69 6d 69 74 73 | 22 7d 0a 20 40 7b 22 20 |y Limits|"}. @{" |
|00001000| 4c 61 72 67 65 20 46 69 | 6c 65 73 20 22 20 4c 69 |Large Fi|les " Li|
|00001010| 6e 6b 20 22 4c 61 72 67 | 65 20 46 69 6c 65 73 22 |nk "Larg|e Files"|
|00001020| 7d 0a 20 40 7b 22 20 49 | 67 6e 6f 72 69 6e 67 20 |}. @{" I|gnoring |
|00001030| 43 68 61 6e 67 65 73 20 | 22 20 4c 69 6e 6b 20 22 |Changes |" Link "|
|00001040| 49 67 6e 6f 72 69 6e 67 | 20 43 68 61 6e 67 65 73 |Ignoring| Changes|
|00001050| 22 7d 0a 20 40 7b 22 20 | 42 75 67 73 20 22 20 4c |"}. @{" |Bugs " L|
|00001060| 69 6e 6b 20 22 42 75 67 | 73 22 7d 0a 20 40 7b 22 |ink "Bug|s"}. @{"|
|00001070| 20 43 6f 6e 63 65 70 74 | 20 49 6e 64 65 78 20 22 | Concept| Index "|
|00001080| 20 4c 69 6e 6b 20 22 43 | 6f 6e 63 65 70 74 20 49 | Link "C|oncept I|
|00001090| 6e 64 65 78 22 7d 0a 40 | 45 6e 64 4e 6f 64 65 20 |ndex"}.@|EndNode |
|000010a0| 22 4d 61 69 6e 22 0a 0a | 40 4e 6f 64 65 20 22 54 |"Main"..|@Node "T|
|000010b0| 6f 70 22 20 22 54 6f 70 | 22 0a 40 50 72 65 76 20 |op" "Top|".@Prev |
|000010c0| 22 22 20 22 22 0a 40 54 | 6f 63 20 22 22 20 22 22 |"" "".@T|oc "" ""|
|000010d0| 0a 0a 3e 3e 20 47 6f 20 | 42 61 63 6b 20 74 6f 20 |..>> Go |Back to |
|000010e0| 40 7b 22 47 63 63 47 75 | 69 64 65 22 20 4c 69 6e |@{"GccGu|ide" Lin|
|000010f0| 6b 20 22 67 63 63 3a 67 | 63 63 67 75 69 64 65 2f |k "gcc:g|ccguide/|
|00001100| 4d 61 69 6e 22 20 30 7d | 2e 20 3c 3c 0a 0a 20 20 |Main" 0}|. <<.. |
|00001110| 20 54 68 69 73 20 66 69 | 6c 65 20 64 6f 63 75 6d | This fi|le docum|
|00001120| 65 6e 74 73 20 74 68 65 | 20 74 68 65 20 47 4e 55 |ents the| the GNU|
|00001130| 20 60 64 69 66 66 27 2c | 20 60 64 69 66 66 33 27 | `diff',| `diff3'|
|00001140| 2c 20 60 73 64 69 66 66 | 27 2c 20 61 6e 64 20 60 |, `sdiff|', and `|
|00001150| 63 6d 70 27 0a 63 6f 6d | 6d 61 6e 64 73 20 66 6f |cmp'.com|mands fo|
|00001160| 72 20 73 68 6f 77 69 6e | 67 20 74 68 65 20 64 69 |r showin|g the di|
|00001170| 66 66 65 72 65 6e 63 65 | 73 20 62 65 74 77 65 65 |fference|s betwee|
|00001180| 6e 20 74 65 78 74 20 66 | 69 6c 65 73 20 61 6e 64 |n text f|iles and|
|00001190| 20 74 68 65 20 60 70 61 | 74 63 68 27 0a 63 6f 6d | the `pa|tch'.com|
|000011a0| 6d 61 6e 64 20 66 6f 72 | 20 75 73 69 6e 67 20 74 |mand for| using t|
|000011b0| 68 65 69 72 20 6f 75 74 | 70 75 74 20 74 6f 20 75 |heir out|put to u|
|000011c0| 70 64 61 74 65 20 66 69 | 6c 65 73 2e 0a 0a 20 20 |pdate fi|les... |
|000011d0| 20 54 68 69 73 20 69 73 | 20 45 64 69 74 69 6f 6e | This is| Edition|
|000011e0| 20 31 2e 32 2c 20 66 6f | 72 20 60 64 69 66 66 27 | 1.2, fo|r `diff'|
|000011f0| 20 32 2e 34 20 61 6e 64 | 20 60 70 61 74 63 68 27 | 2.4 and| `patch'|
|00001200| 20 32 2e 31 2e 0a 0a 2a | 20 4d 65 6e 75 3a 0a 0a | 2.1...*| Menu:..|
|00001210| 2a 20 40 7b 22 4f 76 65 | 72 76 69 65 77 22 20 4c |* @{"Ove|rview" L|
|00001220| 69 6e 6b 20 22 4f 76 65 | 72 76 69 65 77 22 7d 20 |ink "Ove|rview"} |
|00001230| 09 09 50 72 65 6c 69 6d | 69 6e 61 72 79 20 69 6e |..Prelim|inary in|
|00001240| 66 6f 72 6d 61 74 69 6f | 6e 2e 0a 0a 2a 20 40 7b |formatio|n...* @{|
|00001250| 22 43 6f 6d 70 61 72 69 | 73 6f 6e 22 20 4c 69 6e |"Compari|son" Lin|
|00001260| 6b 20 22 43 6f 6d 70 61 | 72 69 73 6f 6e 22 7d 20 |k "Compa|rison"} |
|00001270| 09 09 57 68 61 74 20 66 | 69 6c 65 20 63 6f 6d 70 |..What f|ile comp|
|00001280| 61 72 69 73 6f 6e 20 6d | 65 61 6e 73 2e 0a 2a 20 |arison m|eans..* |
|00001290| 40 7b 22 4f 75 74 70 75 | 74 20 46 6f 72 6d 61 74 |@{"Outpu|t Format|
|000012a0| 73 22 20 4c 69 6e 6b 20 | 22 4f 75 74 70 75 74 20 |s" Link |"Output |
|000012b0| 46 6f 72 6d 61 74 73 22 | 7d 20 09 46 6f 72 6d 61 |Formats"|} .Forma|
|000012c0| 74 73 20 66 6f 72 20 64 | 69 66 66 65 72 65 6e 63 |ts for d|ifferenc|
|000012d0| 65 20 72 65 70 6f 72 74 | 73 2e 0a 2a 20 40 7b 22 |e report|s..* @{"|
|000012e0| 43 6f 6d 70 61 72 69 6e | 67 20 44 69 72 65 63 74 |Comparin|g Direct|
|000012f0| 6f 72 69 65 73 22 20 4c | 69 6e 6b 20 22 43 6f 6d |ories" L|ink "Com|
|00001300| 70 61 72 69 6e 67 20 44 | 69 72 65 63 74 6f 72 69 |paring D|irectori|
|00001310| 65 73 22 7d 20 09 43 6f | 6d 70 61 72 69 6e 67 20 |es"} .Co|mparing |
|00001320| 66 69 6c 65 73 20 61 6e | 64 20 64 69 72 65 63 74 |files an|d direct|
|00001330| 6f 72 69 65 73 2e 0a 2a | 20 40 7b 22 41 64 6a 75 |ories..*| @{"Adju|
|00001340| 73 74 69 6e 67 20 4f 75 | 74 70 75 74 22 20 4c 69 |sting Ou|tput" Li|
|00001350| 6e 6b 20 22 41 64 6a 75 | 73 74 69 6e 67 20 4f 75 |nk "Adju|sting Ou|
|00001360| 74 70 75 74 22 7d 20 09 | 4d 61 6b 69 6e 67 20 60 |tput"} .|Making `|
|00001370| 64 69 66 66 27 20 6f 75 | 74 70 75 74 20 70 72 65 |diff' ou|tput pre|
|00001380| 74 74 69 65 72 2e 0a 2a | 20 40 7b 22 64 69 66 66 |ttier..*| @{"diff|
|00001390| 20 50 65 72 66 6f 72 6d | 61 6e 63 65 22 20 4c 69 | Perform|ance" Li|
|000013a0| 6e 6b 20 22 64 69 66 66 | 20 50 65 72 66 6f 72 6d |nk "diff| Perform|
|000013b0| 61 6e 63 65 22 7d 20 09 | 4d 61 6b 69 6e 67 20 60 |ance"} .|Making `|
|000013c0| 64 69 66 66 27 20 73 6d | 61 72 74 65 72 20 6f 72 |diff' sm|arter or|
|000013d0| 20 66 61 73 74 65 72 2e | 0a 2a 20 40 7b 22 43 6f | faster.|.* @{"Co|
|000013e0| 6d 70 61 72 69 6e 67 20 | 54 68 72 65 65 20 46 69 |mparing |Three Fi|
|000013f0| 6c 65 73 22 20 4c 69 6e | 6b 20 22 43 6f 6d 70 61 |les" Lin|k "Compa|
|00001400| 72 69 6e 67 20 54 68 72 | 65 65 20 46 69 6c 65 73 |ring Thr|ee Files|
|00001410| 22 7d 20 20 46 6f 72 6d | 61 74 73 20 66 6f 72 20 |"} Form|ats for |
|00001420| 74 68 72 65 65 2d 77 61 | 79 20 64 69 66 66 65 72 |three-wa|y differ|
|00001430| 65 6e 63 65 20 72 65 70 | 6f 72 74 73 2e 0a 0a 2a |ence rep|orts...*|
|00001440| 20 40 7b 22 64 69 66 66 | 33 20 4d 65 72 67 69 6e | @{"diff|3 Mergin|
|00001450| 67 22 20 4c 69 6e 6b 20 | 22 64 69 66 66 33 20 4d |g" Link |"diff3 M|
|00001460| 65 72 67 69 6e 67 22 7d | 20 09 4d 65 72 67 69 6e |erging"}| .Mergin|
|00001470| 67 20 66 72 6f 6d 20 61 | 20 63 6f 6d 6d 6f 6e 20 |g from a| common |
|00001480| 61 6e 63 65 73 74 6f 72 | 2e 0a 2a 20 40 7b 22 49 |ancestor|..* @{"I|
|00001490| 6e 74 65 72 61 63 74 69 | 76 65 20 4d 65 72 67 69 |nteracti|ve Mergi|
|000014a0| 6e 67 22 20 4c 69 6e 6b | 20 22 49 6e 74 65 72 61 |ng" Link| "Intera|
|000014b0| 63 74 69 76 65 20 4d 65 | 72 67 69 6e 67 22 7d 20 |ctive Me|rging"} |
|000014c0| 09 49 6e 74 65 72 61 63 | 74 69 76 65 20 6d 65 72 |.Interac|tive mer|
|000014d0| 67 69 6e 67 20 77 69 74 | 68 20 60 73 64 69 66 66 |ging wit|h `sdiff|
|000014e0| 27 2e 0a 2a 20 40 7b 22 | 4d 65 72 67 69 6e 67 20 |'..* @{"|Merging |
|000014f0| 77 69 74 68 20 70 61 74 | 63 68 22 20 4c 69 6e 6b |with pat|ch" Link|
|00001500| 20 22 4d 65 72 67 69 6e | 67 20 77 69 74 68 20 70 | "Mergin|g with p|
|00001510| 61 74 63 68 22 7d 20 09 | 55 73 69 6e 67 20 60 70 |atch"} .|Using `p|
|00001520| 61 74 63 68 27 20 74 6f | 20 63 68 61 6e 67 65 20 |atch' to| change |
|00001530| 6f 6c 64 20 66 69 6c 65 | 73 20 69 6e 74 6f 20 6e |old file|s into n|
|00001540| 65 77 20 6f 6e 65 73 2e | 0a 2a 20 40 7b 22 4d 61 |ew ones.|.* @{"Ma|
|00001550| 6b 69 6e 67 20 50 61 74 | 63 68 65 73 22 20 4c 69 |king Pat|ches" Li|
|00001560| 6e 6b 20 22 4d 61 6b 69 | 6e 67 20 50 61 74 63 68 |nk "Maki|ng Patch|
|00001570| 65 73 22 7d 20 09 54 69 | 70 73 20 66 6f 72 20 6d |es"} .Ti|ps for m|
|00001580| 61 6b 69 6e 67 20 70 61 | 74 63 68 20 64 69 73 74 |aking pa|tch dist|
|00001590| 72 69 62 75 74 69 6f 6e | 73 2e 0a 0a 2a 20 40 7b |ribution|s...* @{|
|000015a0| 22 49 6e 76 6f 6b 69 6e | 67 20 63 6d 70 22 20 4c |"Invokin|g cmp" L|
|000015b0| 69 6e 6b 20 22 49 6e 76 | 6f 6b 69 6e 67 20 63 6d |ink "Inv|oking cm|
|000015c0| 70 22 7d 20 09 48 6f 77 | 20 74 6f 20 72 75 6e 20 |p"} .How| to run |
|000015d0| 60 63 6d 70 27 20 61 6e | 64 20 61 20 73 75 6d 6d |`cmp' an|d a summ|
|000015e0| 61 72 79 20 6f 66 20 69 | 74 73 20 6f 70 74 69 6f |ary of i|ts optio|
|000015f0| 6e 73 2e 0a 2a 20 40 7b | 22 49 6e 76 6f 6b 69 6e |ns..* @{|"Invokin|
|00001600| 67 20 64 69 66 66 22 20 | 4c 69 6e 6b 20 22 49 6e |g diff" |Link "In|
|00001610| 76 6f 6b 69 6e 67 20 64 | 69 66 66 22 7d 20 09 48 |voking d|iff"} .H|
|00001620| 6f 77 20 74 6f 20 72 75 | 6e 20 60 64 69 66 66 27 |ow to ru|n `diff'|
|00001630| 20 61 6e 64 20 61 20 73 | 75 6d 6d 61 72 79 20 6f | and a s|ummary o|
|00001640| 66 20 69 74 73 20 6f 70 | 74 69 6f 6e 73 2e 0a 2a |f its op|tions..*|
|00001650| 20 40 7b 22 49 6e 76 6f | 6b 69 6e 67 20 64 69 66 | @{"Invo|king dif|
|00001660| 66 33 22 20 4c 69 6e 6b | 20 22 49 6e 76 6f 6b 69 |f3" Link| "Invoki|
|00001670| 6e 67 20 64 69 66 66 33 | 22 7d 20 09 48 6f 77 20 |ng diff3|"} .How |
|00001680| 74 6f 20 72 75 6e 20 60 | 64 69 66 66 33 27 20 61 |to run `|diff3' a|
|00001690| 6e 64 20 61 20 73 75 6d | 6d 61 72 79 20 6f 66 20 |nd a sum|mary of |
|000016a0| 69 74 73 20 6f 70 74 69 | 6f 6e 73 2e 0a 2a 20 40 |its opti|ons..* @|
|000016b0| 7b 22 49 6e 76 6f 6b 69 | 6e 67 20 70 61 74 63 68 |{"Invoki|ng patch|
|000016c0| 22 20 4c 69 6e 6b 20 22 | 49 6e 76 6f 6b 69 6e 67 |" Link "|Invoking|
|000016d0| 20 70 61 74 63 68 22 7d | 20 09 48 6f 77 20 74 6f | patch"}| .How to|
|000016e0| 20 72 75 6e 20 60 70 61 | 74 63 68 27 20 61 6e 64 | run `pa|tch' and|
|000016f0| 20 61 20 73 75 6d 6d 61 | 72 79 20 6f 66 20 69 74 | a summa|ry of it|
|00001700| 73 20 6f 70 74 69 6f 6e | 73 2e 0a 2a 20 40 7b 22 |s option|s..* @{"|
|00001710| 49 6e 76 6f 6b 69 6e 67 | 20 73 64 69 66 66 22 20 |Invoking| sdiff" |
|00001720| 4c 69 6e 6b 20 22 49 6e | 76 6f 6b 69 6e 67 20 73 |Link "In|voking s|
|00001730| 64 69 66 66 22 7d 20 09 | 48 6f 77 20 74 6f 20 72 |diff"} .|How to r|
|00001740| 75 6e 20 60 73 64 69 66 | 66 27 20 61 6e 64 20 61 |un `sdif|f' and a|
|00001750| 20 73 75 6d 6d 61 72 79 | 20 6f 66 20 69 74 73 20 | summary| of its |
|00001760| 6f 70 74 69 6f 6e 73 2e | 0a 0a 2a 20 40 7b 22 49 |options.|..* @{"I|
|00001770| 6e 63 6f 6d 70 6c 65 74 | 65 20 4c 69 6e 65 73 22 |ncomplet|e Lines"|
|00001780| 20 4c 69 6e 6b 20 22 49 | 6e 63 6f 6d 70 6c 65 74 | Link "I|ncomplet|
|00001790| 65 20 4c 69 6e 65 73 22 | 7d 20 09 4c 69 6e 65 73 |e Lines"|} .Lines|
|000017a0| 20 74 68 61 74 20 6c 61 | 63 6b 20 74 72 61 69 6c | that la|ck trail|
|000017b0| 69 6e 67 20 6e 65 77 6c | 69 6e 65 73 2e 0a 2a 20 |ing newl|ines..* |
|000017c0| 40 7b 22 50 72 6f 6a 65 | 63 74 73 22 20 4c 69 6e |@{"Proje|cts" Lin|
|000017d0| 6b 20 22 50 72 6f 6a 65 | 63 74 73 22 7d 20 09 09 |k "Proje|cts"} ..|
|000017e0| 49 66 20 79 6f 75 20 74 | 68 69 6e 6b 20 79 6f 75 |If you t|hink you|
|000017f0| 27 76 65 20 66 6f 75 6e | 64 20 61 20 62 75 67 20 |'ve foun|d a bug |
|00001800| 6f 72 20 6f 74 68 65 72 | 20 73 68 6f 72 74 63 6f |or other| shortco|
|00001810| 6d 69 6e 67 2e 0a 0a 2a | 20 40 7b 22 43 6f 6e 63 |ming...*| @{"Conc|
|00001820| 65 70 74 20 49 6e 64 65 | 78 22 20 4c 69 6e 6b 20 |ept Inde|x" Link |
|00001830| 22 43 6f 6e 63 65 70 74 | 20 49 6e 64 65 78 22 7d |"Concept| Index"}|
|00001840| 20 09 49 6e 64 65 78 20 | 6f 66 20 63 6f 6e 63 65 | .Index |of conce|
|00001850| 70 74 73 2e 0a 0a 40 45 | 6e 64 4e 6f 64 65 0a 0a |pts...@E|ndNode..|
|00001860| 0a 40 4e 6f 64 65 20 22 | 4f 76 65 72 76 69 65 77 |.@Node "|Overview|
|00001870| 22 20 22 4f 76 65 72 76 | 69 65 77 22 0a 40 4e 65 |" "Overv|iew".@Ne|
|00001880| 78 74 20 22 43 6f 6d 70 | 61 72 69 73 6f 6e 22 20 |xt "Comp|arison" |
|00001890| 22 43 6f 6d 70 61 72 69 | 73 6f 6e 22 0a 40 54 6f |"Compari|son".@To|
|000018a0| 63 20 22 54 6f 70 22 20 | 22 54 6f 70 22 0a 4f 76 |c "Top" |"Top".Ov|
|000018b0| 65 72 76 69 65 77 0a 2a | 2a 2a 2a 2a 2a 2a 2a 0a |erview.*|*******.|
|000018c0| 0a 20 20 20 43 6f 6d 70 | 75 74 65 72 20 75 73 65 |. Comp|uter use|
|000018d0| 72 73 20 6f 66 74 65 6e | 20 66 69 6e 64 20 6f 63 |rs often| find oc|
|000018e0| 63 61 73 69 6f 6e 20 74 | 6f 20 61 73 6b 20 68 6f |casion t|o ask ho|
|000018f0| 77 20 74 77 6f 20 66 69 | 6c 65 73 20 64 69 66 66 |w two fi|les diff|
|00001900| 65 72 2e 0a 50 65 72 68 | 61 70 73 20 6f 6e 65 20 |er..Perh|aps one |
|00001910| 66 69 6c 65 20 69 73 20 | 61 20 6e 65 77 65 72 20 |file is |a newer |
|00001920| 76 65 72 73 69 6f 6e 20 | 6f 66 20 74 68 65 20 6f |version |of the o|
|00001930| 74 68 65 72 20 66 69 6c | 65 2e 20 20 4f 72 20 6d |ther fil|e. Or m|
|00001940| 61 79 62 65 20 74 68 65 | 0a 74 77 6f 20 66 69 6c |aybe the|.two fil|
|00001950| 65 73 20 73 74 61 72 74 | 65 64 20 6f 75 74 20 61 |es start|ed out a|
|00001960| 73 20 69 64 65 6e 74 69 | 63 61 6c 20 63 6f 70 69 |s identi|cal copi|
|00001970| 65 73 20 62 75 74 20 77 | 65 72 65 20 63 68 61 6e |es but w|ere chan|
|00001980| 67 65 64 20 62 79 20 64 | 69 66 66 65 72 65 6e 74 |ged by d|ifferent|
|00001990| 0a 70 65 6f 70 6c 65 2e | 0a 0a 20 20 20 59 6f 75 |.people.|.. You|
|000019a0| 20 63 61 6e 20 75 73 65 | 20 74 68 65 20 60 64 69 | can use| the `di|
|000019b0| 66 66 27 20 63 6f 6d 6d | 61 6e 64 20 74 6f 20 73 |ff' comm|and to s|
|000019c0| 68 6f 77 20 64 69 66 66 | 65 72 65 6e 63 65 73 20 |how diff|erences |
|000019d0| 62 65 74 77 65 65 6e 20 | 74 77 6f 0a 66 69 6c 65 |between |two.file|
|000019e0| 73 2c 20 6f 72 20 65 61 | 63 68 20 63 6f 72 72 65 |s, or ea|ch corre|
|000019f0| 73 70 6f 6e 64 69 6e 67 | 20 66 69 6c 65 20 69 6e |sponding| file in|
|00001a00| 20 74 77 6f 20 64 69 72 | 65 63 74 6f 72 69 65 73 | two dir|ectories|
|00001a10| 2e 20 20 60 64 69 66 66 | 27 20 6f 75 74 70 75 74 |. `diff|' output|
|00001a20| 73 0a 64 69 66 66 65 72 | 65 6e 63 65 73 20 62 65 |s.differ|ences be|
|00001a30| 74 77 65 65 6e 20 66 69 | 6c 65 73 20 6c 69 6e 65 |tween fi|les line|
|00001a40| 20 62 79 20 6c 69 6e 65 | 20 69 6e 20 61 6e 79 20 | by line| in any |
|00001a50| 6f 66 20 73 65 76 65 72 | 61 6c 20 66 6f 72 6d 61 |of sever|al forma|
|00001a60| 74 73 2c 0a 73 65 6c 65 | 63 74 61 62 6c 65 20 62 |ts,.sele|ctable b|
|00001a70| 79 20 63 6f 6d 6d 61 6e | 64 20 6c 69 6e 65 20 6f |y comman|d line o|
|00001a80| 70 74 69 6f 6e 73 2e 20 | 20 54 68 69 73 20 73 65 |ptions. | This se|
|00001a90| 74 20 6f 66 20 64 69 66 | 66 65 72 65 6e 63 65 73 |t of dif|ferences|
|00001aa0| 20 69 73 20 6f 66 74 65 | 6e 0a 63 61 6c 6c 65 64 | is ofte|n.called|
|00001ab0| 20 61 20 22 64 69 66 66 | 22 20 6f 72 20 22 70 61 | a "diff|" or "pa|
|00001ac0| 74 63 68 22 2e 20 20 46 | 6f 72 20 66 69 6c 65 73 |tch". F|or files|
|00001ad0| 20 74 68 61 74 20 61 72 | 65 20 69 64 65 6e 74 69 | that ar|e identi|
|00001ae0| 63 61 6c 2c 20 60 64 69 | 66 66 27 0a 6e 6f 72 6d |cal, `di|ff'.norm|
|00001af0| 61 6c 6c 79 20 70 72 6f | 64 75 63 65 73 20 6e 6f |ally pro|duces no|
|00001b00| 20 6f 75 74 70 75 74 3b | 20 66 6f 72 20 62 69 6e | output;| for bin|
|00001b10| 61 72 79 20 28 6e 6f 6e | 2d 74 65 78 74 29 20 66 |ary (non|-text) f|
|00001b20| 69 6c 65 73 2c 20 60 64 | 69 66 66 27 0a 6e 6f 72 |iles, `d|iff'.nor|
|00001b30| 6d 61 6c 6c 79 20 72 65 | 70 6f 72 74 73 20 6f 6e |mally re|ports on|
|00001b40| 6c 79 20 74 68 61 74 20 | 74 68 65 79 20 61 72 65 |ly that |they are|
|00001b50| 20 64 69 66 66 65 72 65 | 6e 74 2e 0a 0a 20 20 20 | differe|nt... |
|00001b60| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 65 20 |You can |use the |
|00001b70| 60 63 6d 70 27 20 63 6f | 6d 6d 61 6e 64 20 74 6f |`cmp' co|mmand to|
|00001b80| 20 73 68 6f 77 20 74 68 | 65 20 6f 66 66 73 65 74 | show th|e offset|
|00001b90| 73 20 61 6e 64 20 6c 69 | 6e 65 20 6e 75 6d 62 65 |s and li|ne numbe|
|00001ba0| 72 73 0a 77 68 65 72 65 | 20 74 77 6f 20 66 69 6c |rs.where| two fil|
|00001bb0| 65 73 20 64 69 66 66 65 | 72 2e 20 20 60 63 6d 70 |es diffe|r. `cmp|
|00001bc0| 27 20 63 61 6e 20 61 6c | 73 6f 20 73 68 6f 77 20 |' can al|so show |
|00001bd0| 61 6c 6c 20 74 68 65 20 | 63 68 61 72 61 63 74 65 |all the |characte|
|00001be0| 72 73 20 74 68 61 74 0a | 64 69 66 66 65 72 20 62 |rs that.|differ b|
|00001bf0| 65 74 77 65 65 6e 20 74 | 68 65 20 74 77 6f 20 66 |etween t|he two f|
|00001c00| 69 6c 65 73 2c 20 73 69 | 64 65 20 62 79 20 73 69 |iles, si|de by si|
|00001c10| 64 65 2e 20 20 41 6e 6f | 74 68 65 72 20 77 61 79 |de. Ano|ther way|
|00001c20| 20 74 6f 20 63 6f 6d 70 | 61 72 65 20 74 77 6f 0a | to comp|are two.|
|00001c30| 66 69 6c 65 73 20 63 68 | 61 72 61 63 74 65 72 20 |files ch|aracter |
|00001c40| 62 79 20 63 68 61 72 61 | 63 74 65 72 20 69 73 20 |by chara|cter is |
|00001c50| 74 68 65 20 45 6d 61 63 | 73 20 63 6f 6d 6d 61 6e |the Emac|s comman|
|00001c60| 64 20 60 4d 2d 78 0a 63 | 6f 6d 70 61 72 65 2d 77 |d `M-x.c|ompare-w|
|00001c70| 69 6e 64 6f 77 73 27 2e | 20 20 40 7b 22 28 65 6d |indows'.| @{"(em|
|00001c80| 61 63 73 29 4f 74 68 65 | 72 20 57 69 6e 64 6f 77 |acs)Othe|r Window|
|00001c90| 22 20 4c 69 6e 6b 20 22 | 28 65 6d 61 63 73 29 4f |" Link "|(emacs)O|
|00001ca0| 74 68 65 72 20 57 69 6e | 64 6f 77 22 7d 2c 20 66 |ther Win|dow"}, f|
|00001cb0| 6f 72 20 6d 6f 72 65 0a | 69 6e 66 6f 72 6d 61 74 |or more.|informat|
|00001cc0| 69 6f 6e 20 6f 6e 20 74 | 68 61 74 20 63 6f 6d 6d |ion on t|hat comm|
|00001cd0| 61 6e 64 2e 0a 0a 20 20 | 20 59 6f 75 20 63 61 6e |and... | You can|
|00001ce0| 20 75 73 65 20 74 68 65 | 20 60 64 69 66 66 33 27 | use the| `diff3'|
|00001cf0| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 73 68 6f 77 | command| to show|
|00001d00| 20 64 69 66 66 65 72 65 | 6e 63 65 73 20 61 6d 6f | differe|nces amo|
|00001d10| 6e 67 20 74 68 72 65 65 | 0a 66 69 6c 65 73 2e 20 |ng three|.files. |
|00001d20| 20 57 68 65 6e 20 74 77 | 6f 20 70 65 6f 70 6c 65 | When tw|o people|
|00001d30| 20 68 61 76 65 20 6d 61 | 64 65 20 69 6e 64 65 70 | have ma|de indep|
|00001d40| 65 6e 64 65 6e 74 20 63 | 68 61 6e 67 65 73 20 74 |endent c|hanges t|
|00001d50| 6f 20 61 20 63 6f 6d 6d | 6f 6e 0a 6f 72 69 67 69 |o a comm|on.origi|
|00001d60| 6e 61 6c 2c 20 60 64 69 | 66 66 33 27 20 63 61 6e |nal, `di|ff3' can|
|00001d70| 20 72 65 70 6f 72 74 20 | 74 68 65 20 64 69 66 66 | report |the diff|
|00001d80| 65 72 65 6e 63 65 73 20 | 62 65 74 77 65 65 6e 20 |erences |between |
|00001d90| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 61 6e 64 |the orig|inal and|
|00001da0| 0a 74 68 65 20 74 77 6f | 20 63 68 61 6e 67 65 64 |.the two| changed|
|00001db0| 20 76 65 72 73 69 6f 6e | 73 2c 20 61 6e 64 20 63 | version|s, and c|
|00001dc0| 61 6e 20 70 72 6f 64 75 | 63 65 20 61 20 6d 65 72 |an produ|ce a mer|
|00001dd0| 67 65 64 20 66 69 6c 65 | 20 74 68 61 74 20 63 6f |ged file| that co|
|00001de0| 6e 74 61 69 6e 73 0a 62 | 6f 74 68 20 70 65 72 73 |ntains.b|oth pers|
|00001df0| 6f 6e 73 27 20 63 68 61 | 6e 67 65 73 20 74 6f 67 |ons' cha|nges tog|
|00001e00| 65 74 68 65 72 20 77 69 | 74 68 20 77 61 72 6e 69 |ether wi|th warni|
|00001e10| 6e 67 73 20 61 62 6f 75 | 74 20 63 6f 6e 66 6c 69 |ngs abou|t confli|
|00001e20| 63 74 73 2e 0a 0a 20 20 | 20 59 6f 75 20 63 61 6e |cts... | You can|
|00001e30| 20 75 73 65 20 74 68 65 | 20 60 73 64 69 66 66 27 | use the| `sdiff'|
|00001e40| 20 63 6f 6d 6d 61 6e 64 | 20 74 6f 20 6d 65 72 67 | command| to merg|
|00001e50| 65 20 74 77 6f 20 66 69 | 6c 65 73 20 69 6e 74 65 |e two fi|les inte|
|00001e60| 72 61 63 74 69 76 65 6c | 79 2e 0a 0a 20 20 20 59 |ractivel|y... Y|
|00001e70| 6f 75 20 63 61 6e 20 75 | 73 65 20 74 68 65 20 73 |ou can u|se the s|
|00001e80| 65 74 20 6f 66 20 64 69 | 66 66 65 72 65 6e 63 65 |et of di|fference|
|00001e90| 73 20 70 72 6f 64 75 63 | 65 64 20 62 79 20 60 64 |s produc|ed by `d|
|00001ea0| 69 66 66 27 20 74 6f 20 | 64 69 73 74 72 69 62 75 |iff' to |distribu|
|00001eb0| 74 65 0a 75 70 64 61 74 | 65 73 20 74 6f 20 74 65 |te.updat|es to te|
|00001ec0| 78 74 20 66 69 6c 65 73 | 20 28 73 75 63 68 20 61 |xt files| (such a|
|00001ed0| 73 20 70 72 6f 67 72 61 | 6d 20 73 6f 75 72 63 65 |s progra|m source|
|00001ee0| 20 63 6f 64 65 29 20 74 | 6f 20 6f 74 68 65 72 20 | code) t|o other |
|00001ef0| 70 65 6f 70 6c 65 2e 0a | 54 68 69 73 20 6d 65 74 |people..|This met|
|00001f00| 68 6f 64 20 69 73 20 65 | 73 70 65 63 69 61 6c 6c |hod is e|speciall|
|00001f10| 79 20 75 73 65 66 75 6c | 20 77 68 65 6e 20 74 68 |y useful| when th|
|00001f20| 65 20 64 69 66 66 65 72 | 65 6e 63 65 73 20 61 72 |e differ|ences ar|
|00001f30| 65 20 73 6d 61 6c 6c 20 | 63 6f 6d 70 61 72 65 64 |e small |compared|
|00001f40| 0a 74 6f 20 74 68 65 20 | 63 6f 6d 70 6c 65 74 65 |.to the |complete|
|00001f50| 20 66 69 6c 65 73 2e 20 | 20 47 69 76 65 6e 20 60 | files. | Given `|
|00001f60| 64 69 66 66 27 20 6f 75 | 74 70 75 74 2c 20 79 6f |diff' ou|tput, yo|
|00001f70| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 60 70 |u can us|e the `p|
|00001f80| 61 74 63 68 27 0a 70 72 | 6f 67 72 61 6d 20 74 6f |atch'.pr|ogram to|
|00001f90| 20 75 70 64 61 74 65 2c | 20 6f 72 20 22 70 61 74 | update,| or "pat|
|00001fa0| 63 68 22 2c 20 61 20 63 | 6f 70 79 20 6f 66 20 74 |ch", a c|opy of t|
|00001fb0| 68 65 20 66 69 6c 65 2e | 20 20 49 66 20 79 6f 75 |he file.| If you|
|00001fc0| 20 74 68 69 6e 6b 20 6f | 66 0a 60 64 69 66 66 27 | think o|f.`diff'|
|00001fd0| 20 61 73 20 73 75 62 74 | 72 61 63 74 69 6e 67 20 | as subt|racting |
|00001fe0| 6f 6e 65 20 66 69 6c 65 | 20 66 72 6f 6d 20 61 6e |one file| from an|
|00001ff0| 6f 74 68 65 72 20 74 6f | 20 70 72 6f 64 75 63 65 |other to| produce|
|00002000| 20 74 68 65 69 72 0a 64 | 69 66 66 65 72 65 6e 63 | their.d|ifferenc|
|00002010| 65 2c 20 79 6f 75 20 63 | 61 6e 20 74 68 69 6e 6b |e, you c|an think|
|00002020| 20 6f 66 20 60 70 61 74 | 63 68 27 20 61 73 20 61 | of `pat|ch' as a|
|00002030| 64 64 69 6e 67 20 74 68 | 65 20 64 69 66 66 65 72 |dding th|e differ|
|00002040| 65 6e 63 65 20 74 6f 20 | 6f 6e 65 0a 66 69 6c 65 |ence to |one.file|
|00002050| 20 74 6f 20 72 65 70 72 | 6f 64 75 63 65 20 74 68 | to repr|oduce th|
|00002060| 65 20 6f 74 68 65 72 2e | 0a 0a 20 20 20 54 68 69 |e other.|.. Thi|
|00002070| 73 20 6d 61 6e 75 61 6c | 20 66 69 72 73 74 20 63 |s manual| first c|
|00002080| 6f 6e 63 65 6e 74 72 61 | 74 65 73 20 6f 6e 20 6d |oncentra|tes on m|
|00002090| 61 6b 69 6e 67 20 64 69 | 66 66 73 2c 20 61 6e 64 |aking di|ffs, and|
|000020a0| 20 6c 61 74 65 72 20 73 | 68 6f 77 73 20 68 6f 77 | later s|hows how|
|000020b0| 0a 74 6f 20 75 73 65 20 | 64 69 66 66 73 20 74 6f |.to use |diffs to|
|000020c0| 20 75 70 64 61 74 65 20 | 66 69 6c 65 73 2e 0a 0a | update |files...|
|000020d0| 20 20 20 47 4e 55 20 60 | 64 69 66 66 27 20 77 61 | GNU `|diff' wa|
|000020e0| 73 20 77 72 69 74 74 65 | 6e 20 62 79 20 4d 69 6b |s writte|n by Mik|
|000020f0| 65 20 48 61 65 72 74 65 | 6c 2c 20 44 61 76 69 64 |e Haerte|l, David|
|00002100| 20 48 61 79 65 73 2c 20 | 52 69 63 68 61 72 64 0a | Hayes, |Richard.|
|00002110| 53 74 61 6c 6c 6d 61 6e | 2c 20 4c 65 6e 20 54 6f |Stallman|, Len To|
|00002120| 77 65 72 2c 20 61 6e 64 | 20 50 61 75 6c 20 45 67 |wer, and| Paul Eg|
|00002130| 67 65 72 74 2e 20 20 57 | 61 79 6e 65 20 44 61 76 |gert. W|ayne Dav|
|00002140| 69 73 6f 6e 20 64 65 73 | 69 67 6e 65 64 20 61 6e |ison des|igned an|
|00002150| 64 0a 69 6d 70 6c 65 6d | 65 6e 74 65 64 20 74 68 |d.implem|ented th|
|00002160| 65 20 75 6e 69 66 69 65 | 64 20 6f 75 74 70 75 74 |e unifie|d output|
|00002170| 20 66 6f 72 6d 61 74 2e | 20 20 54 68 65 20 62 61 | format.| The ba|
|00002180| 73 69 63 20 61 6c 67 6f | 72 69 74 68 6d 20 69 73 |sic algo|rithm is|
|00002190| 20 64 65 73 63 72 69 62 | 65 64 0a 69 6e 20 22 41 | describ|ed.in "A|
|000021a0| 6e 20 4f 28 4e 44 29 20 | 44 69 66 66 65 72 65 6e |n O(ND) |Differen|
|000021b0| 63 65 20 41 6c 67 6f 72 | 69 74 68 6d 20 61 6e 64 |ce Algor|ithm and|
|000021c0| 20 69 74 73 20 56 61 72 | 69 61 74 69 6f 6e 73 22 | its Var|iations"|
|000021d0| 2c 20 45 75 67 65 6e 65 | 20 4d 79 65 72 73 2c 0a |, Eugene| Myers,.|
|000021e0| 60 41 6c 67 6f 72 69 74 | 68 6d 69 63 61 27 20 56 |`Algorit|hmica' V|
|000021f0| 6f 6c 2e 20 31 20 4e 6f | 2e 20 32 2c 20 31 39 38 |ol. 1 No|. 2, 198|
|00002200| 36 2c 20 70 2e 20 32 35 | 31 3b 20 61 6e 64 20 69 |6, p. 25|1; and i|
|00002210| 6e 20 22 41 20 46 69 6c | 65 20 43 6f 6d 70 61 72 |n "A Fil|e Compar|
|00002220| 69 73 6f 6e 0a 50 72 6f | 67 72 61 6d 22 2c 20 57 |ison.Pro|gram", W|
|00002230| 2e 20 4d 69 6c 6c 65 72 | 20 61 6e 64 20 45 2e 20 |. Miller| and E. |
|00002240| 4d 79 65 72 73 2c 20 60 | 53 6f 66 74 77 61 72 65 |Myers, `|Software|
|00002250| 20 50 72 61 63 74 69 63 | 65 20 61 6e 64 20 45 78 | Practic|e and Ex|
|00002260| 70 65 72 69 65 6e 63 65 | 27 0a 56 6f 6c 2e 20 31 |perience|'.Vol. 1|
|00002270| 35 20 4e 6f 2e 20 31 31 | 2c 20 31 39 38 35 2c 20 |5 No. 11|, 1985, |
|00002280| 70 2e 20 31 30 32 35 2e | 0a 0a 20 20 20 47 4e 55 |p. 1025.|.. GNU|
|00002290| 20 60 64 69 66 66 33 27 | 20 77 61 73 20 77 72 69 | `diff3'| was wri|
|000022a0| 74 74 65 6e 20 62 79 20 | 52 61 6e 64 79 20 53 6d |tten by |Randy Sm|
|000022b0| 69 74 68 2e 20 20 47 4e | 55 20 60 73 64 69 66 66 |ith. GN|U `sdiff|
|000022c0| 27 20 77 61 73 20 77 72 | 69 74 74 65 6e 20 62 79 |' was wr|itten by|
|000022d0| 0a 54 68 6f 6d 61 73 20 | 4c 6f 72 64 2e 20 20 47 |.Thomas |Lord. G|
|000022e0| 4e 55 20 60 63 6d 70 27 | 20 77 61 73 20 77 72 69 |NU `cmp'| was wri|
|000022f0| 74 74 65 6e 20 62 79 20 | 54 6f 72 62 6a 6f 72 6e |tten by |Torbjorn|
|00002300| 20 47 72 61 6e 6c 75 6e | 64 20 61 6e 64 20 44 61 | Granlun|d and Da|
|00002310| 76 69 64 0a 4d 61 63 4b | 65 6e 7a 69 65 2e 0a 0a |vid.MacK|enzie...|
|00002320| 20 20 20 60 70 61 74 63 | 68 27 20 77 61 73 20 77 | `patc|h' was w|
|00002330| 72 69 74 74 65 6e 20 6d | 61 69 6e 6c 79 20 62 79 |ritten m|ainly by|
|00002340| 20 4c 61 72 72 79 20 57 | 61 6c 6c 3b 20 74 68 65 | Larry W|all; the|
|00002350| 20 47 4e 55 20 65 6e 68 | 61 6e 63 65 6d 65 6e 74 | GNU enh|ancement|
|00002360| 73 20 77 65 72 65 0a 77 | 72 69 74 74 65 6e 20 6d |s were.w|ritten m|
|00002370| 61 69 6e 6c 79 20 62 79 | 20 57 61 79 6e 65 20 44 |ainly by| Wayne D|
|00002380| 61 76 69 73 6f 6e 20 61 | 6e 64 20 44 61 76 69 64 |avison a|nd David|
|00002390| 20 4d 61 63 4b 65 6e 7a | 69 65 2e 20 20 50 61 72 | MacKenz|ie. Par|
|000023a0| 74 73 20 6f 66 20 74 68 | 69 73 0a 6d 61 6e 75 61 |ts of th|is.manua|
|000023b0| 6c 20 61 72 65 20 61 64 | 61 70 74 65 64 20 66 72 |l are ad|apted fr|
|000023c0| 6f 6d 20 61 20 6d 61 6e | 75 61 6c 20 70 61 67 65 |om a man|ual page|
|000023d0| 20 77 72 69 74 74 65 6e | 20 62 79 20 4c 61 72 72 | written| by Larr|
|000023e0| 79 20 57 61 6c 6c 2c 20 | 77 69 74 68 20 68 69 73 |y Wall, |with his|
|000023f0| 0a 70 65 72 6d 69 73 73 | 69 6f 6e 2e 0a 0a 40 45 |.permiss|ion...@E|
|00002400| 6e 64 4e 6f 64 65 0a 0a | 0a 40 4e 6f 64 65 20 22 |ndNode..|.@Node "|
|00002410| 43 6f 6d 70 61 72 69 73 | 6f 6e 22 20 22 43 6f 6d |Comparis|on" "Com|
|00002420| 70 61 72 69 73 6f 6e 22 | 0a 40 4e 65 78 74 20 22 |parison"|.@Next "|
|00002430| 4f 75 74 70 75 74 20 46 | 6f 72 6d 61 74 73 22 20 |Output F|ormats" |
|00002440| 22 4f 75 74 70 75 74 20 | 46 6f 72 6d 61 74 73 22 |"Output |Formats"|
|00002450| 0a 40 50 72 65 76 20 22 | 4f 76 65 72 76 69 65 77 |.@Prev "|Overview|
|00002460| 22 20 22 4f 76 65 72 76 | 69 65 77 22 0a 40 54 6f |" "Overv|iew".@To|
|00002470| 63 20 22 54 6f 70 22 20 | 22 54 6f 70 22 0a 57 68 |c "Top" |"Top".Wh|
|00002480| 61 74 20 43 6f 6d 70 61 | 72 69 73 6f 6e 20 4d 65 |at Compa|rison Me|
|00002490| 61 6e 73 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |ans.****|********|
|000024a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0a 0a 20 20 20 43 6f |********|*.. Co|
|000024b0| 6d 70 75 74 65 72 20 75 | 73 65 72 73 20 6f 66 74 |mputer u|sers oft|
|000024c0| 65 6e 20 66 69 6e 64 20 | 6f 63 63 61 73 69 6f 6e |en find |occasion|
|000024d0| 20 74 6f 20 61 73 6b 20 | 68 6f 77 20 74 77 6f 20 | to ask |how two |
|000024e0| 66 69 6c 65 73 20 64 69 | 66 66 65 72 2e 0a 50 65 |files di|ffer..Pe|
|000024f0| 72 68 61 70 73 20 6f 6e | 65 20 66 69 6c 65 20 69 |rhaps on|e file i|
|00002500| 73 20 61 20 6e 65 77 65 | 72 20 76 65 72 73 69 6f |s a newe|r versio|
|00002510| 6e 20 6f 66 20 74 68 65 | 20 6f 74 68 65 72 20 66 |n of the| other f|
|00002520| 69 6c 65 2e 20 20 4f 72 | 20 6d 61 79 62 65 20 74 |ile. Or| maybe t|
|00002530| 68 65 0a 74 77 6f 20 66 | 69 6c 65 73 20 73 74 61 |he.two f|iles sta|
|00002540| 72 74 65 64 20 6f 75 74 | 20 61 73 20 69 64 65 6e |rted out| as iden|
|00002550| 74 69 63 61 6c 20 63 6f | 70 69 65 73 20 62 75 74 |tical co|pies but|
|00002560| 20 77 65 72 65 20 63 68 | 61 6e 67 65 64 20 62 79 | were ch|anged by|
|00002570| 20 64 69 66 66 65 72 65 | 6e 74 0a 70 65 6f 70 6c | differe|nt.peopl|
|00002580| 65 2e 0a 0a 20 20 20 59 | 6f 75 20 63 61 6e 20 75 |e... Y|ou can u|
|00002590| 73 65 20 74 68 65 20 60 | 64 69 66 66 27 20 63 6f |se the `|diff' co|
|000025a0| 6d 6d 61 6e 64 20 74 6f | 20 73 68 6f 77 20 64 69 |mmand to| show di|
|000025b0| 66 66 65 72 65 6e 63 65 | 73 20 62 65 74 77 65 65 |fference|s betwee|
|000025c0| 6e 20 74 77 6f 0a 66 69 | 6c 65 73 2c 20 6f 72 20 |n two.fi|les, or |
|000025d0| 65 61 63 68 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 |each cor|respondi|
|000025e0| 6e 67 20 66 69 6c 65 20 | 69 6e 20 74 77 6f 20 64 |ng file |in two d|
|000025f0| 69 72 65 63 74 6f 72 69 | 65 73 2e 20 20 60 64 69 |irectori|es. `di|
|00002600| 66 66 27 20 6f 75 74 70 | 75 74 73 0a 64 69 66 66 |ff' outp|uts.diff|
|00002610| 65 72 65 6e 63 65 73 20 | 62 65 74 77 65 65 6e 20 |erences |between |
|00002620| 66 69 6c 65 73 20 6c 69 | 6e 65 20 62 79 20 6c 69 |files li|ne by li|
|00002630| 6e 65 20 69 6e 20 61 6e | 79 20 6f 66 20 73 65 76 |ne in an|y of sev|
|00002640| 65 72 61 6c 20 66 6f 72 | 6d 61 74 73 2c 0a 73 65 |eral for|mats,.se|
|00002650| 6c 65 63 74 61 62 6c 65 | 20 62 79 20 63 6f 6d 6d |lectable| by comm|
|00002660| 61 6e 64 20 6c 69 6e 65 | 20 6f 70 74 69 6f 6e 73 |and line| options|
|00002670| 2e 20 20 54 68 69 73 20 | 73 65 74 20 6f 66 20 64 |. This |set of d|
|00002680| 69 66 66 65 72 65 6e 63 | 65 73 20 69 73 20 6f 66 |ifferenc|es is of|
|00002690| 74 65 6e 0a 63 61 6c 6c | 65 64 20 61 20 22 64 69 |ten.call|ed a "di|
|000026a0| 66 66 22 20 6f 72 20 22 | 70 61 74 63 68 22 2e 20 |ff" or "|patch". |
|000026b0| 20 46 6f 72 20 66 69 6c | 65 73 20 74 68 61 74 20 | For fil|es that |
|000026c0| 61 72 65 20 69 64 65 6e | 74 69 63 61 6c 2c 20 60 |are iden|tical, `|
|000026d0| 64 69 66 66 27 0a 6e 6f | 72 6d 61 6c 6c 79 20 70 |diff'.no|rmally p|
|000026e0| 72 6f 64 75 63 65 73 20 | 6e 6f 20 6f 75 74 70 75 |roduces |no outpu|
|000026f0| 74 3b 20 66 6f 72 20 62 | 69 6e 61 72 79 20 28 6e |t; for b|inary (n|
|00002700| 6f 6e 2d 74 65 78 74 29 | 20 66 69 6c 65 73 2c 20 |on-text)| files, |
|00002710| 60 64 69 66 66 27 0a 6e | 6f 72 6d 61 6c 6c 79 20 |`diff'.n|ormally |
|00002720| 72 65 70 6f 72 74 73 20 | 6f 6e 6c 79 20 74 68 61 |reports |only tha|
|00002730| 74 20 74 68 65 79 20 61 | 72 65 20 64 69 66 66 65 |t they a|re diffe|
|00002740| 72 65 6e 74 2e 0a 0a 20 | 20 20 59 6f 75 20 63 61 |rent... | You ca|
|00002750| 6e 20 75 73 65 20 74 68 | 65 20 60 63 6d 70 27 20 |n use th|e `cmp' |
|00002760| 63 6f 6d 6d 61 6e 64 20 | 74 6f 20 73 68 6f 77 20 |command |to show |
|00002770| 74 68 65 20 6f 66 66 73 | 65 74 73 20 61 6e 64 20 |the offs|ets and |
|00002780| 6c 69 6e 65 20 6e 75 6d | 62 65 72 73 0a 77 68 65 |line num|bers.whe|
|00002790| 72 65 20 74 77 6f 20 66 | 69 6c 65 73 20 64 69 66 |re two f|iles dif|
|000027a0| 66 65 72 2e 20 20 60 63 | 6d 70 27 20 63 61 6e 20 |fer. `c|mp' can |
|000027b0| 61 6c 73 6f 20 73 68 6f | 77 20 61 6c 6c 20 74 68 |also sho|w all th|
|000027c0| 65 20 63 68 61 72 61 63 | 74 65 72 73 20 74 68 61 |e charac|ters tha|
|000027d0| 74 0a 64 69 66 66 65 72 | 20 62 65 74 77 65 65 6e |t.differ| between|
|000027e0| 20 74 68 65 20 74 77 6f | 20 66 69 6c 65 73 2c 20 | the two| files, |
|000027f0| 73 69 64 65 20 62 79 20 | 73 69 64 65 2e 20 20 41 |side by |side. A|
|00002800| 6e 6f 74 68 65 72 20 77 | 61 79 20 74 6f 20 63 6f |nother w|ay to co|
|00002810| 6d 70 61 72 65 20 74 77 | 6f 0a 66 69 6c 65 73 20 |mpare tw|o.files |
|00002820| 63 68 61 72 61 63 74 65 | 72 20 62 79 20 63 68 61 |characte|r by cha|
|00002830| 72 61 63 74 65 72 20 69 | 73 20 74 68 65 20 45 6d |racter i|s the Em|
|00002840| 61 63 73 20 63 6f 6d 6d | 61 6e 64 20 60 4d 2d 78 |acs comm|and `M-x|
|00002850| 0a 63 6f 6d 70 61 72 65 | 2d 77 69 6e 64 6f 77 73 |.compare|-windows|
|00002860| 27 2e 20 20 40 7b 22 28 | 65 6d 61 63 73 29 4f 74 |'. @{"(|emacs)Ot|
|00002870| 68 65 72 20 57 69 6e 64 | 6f 77 2c 20 66 6f 72 20 |her Wind|ow, for |
|00002880| 6d 6f 72 22 0a 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |mor".inf|ormation|
|00002890| 20 6f 6e 20 74 68 61 74 | 20 63 6f 6d 6d 61 6e 64 | on that| command|
|000028a0| 2e 0a 0a 20 20 20 59 6f | 75 20 63 61 6e 20 75 73 |... Yo|u can us|
|000028b0| 65 20 74 68 65 20 60 64 | 69 66 66 33 27 20 63 6f |e the `d|iff3' co|
|000028c0| 6d 6d 61 6e 64 20 74 6f | 20 73 68 6f 77 20 64 69 |mmand to| show di|
|000028d0| 66 66 65 72 65 6e 63 65 | 73 20 61 6d 6f 6e 67 20 |fference|s among |
|000028e0| 74 68 72 65 65 0a 66 69 | 6c 65 73 2e 20 20 57 68 |three.fi|les. Wh|
|000028f0| 65 6e 20 74 77 6f 20 70 | 65 6f 70 6c 65 20 68 61 |en two p|eople ha|
|00002900| 76 65 20 6d 61 64 65 20 | 69 6e 64 65 70 65 6e 64 |ve made |independ|
|00002910| 65 6e 74 20 63 68 61 6e | 67 65 73 20 74 6f 20 61 |ent chan|ges to a|
|00002920| 20 63 6f 6d 6d 6f 6e 0a | 6f 72 69 67 69 6e 61 6c | common.|original|
|00002930| 2c 20 60 64 69 66 66 33 | 27 20 63 61 6e 20 72 65 |, `diff3|' can re|
|00002940| 70 6f 72 74 20 74 68 65 | 20 64 69 66 66 65 72 65 |port the| differe|
|00002950| 6e 63 65 73 20 62 65 74 | 77 65 65 6e 20 74 68 65 |nces bet|ween the|
|00002960| 20 6f 72 69 67 69 6e 61 | 6c 20 61 6e 64 0a 74 68 | origina|l and.th|
|00002970| 65 20 74 77 6f 20 63 68 | 61 6e 67 65 64 20 76 65 |e two ch|anged ve|
|00002980| 72 73 69 6f 6e 73 2c 20 | 61 6e 64 20 63 61 6e 20 |rsions, |and can |
|00002990| 70 72 6f 64 75 63 65 20 | 61 20 6d 65 72 67 65 64 |produce |a merged|
|000029a0| 20 66 69 6c 65 20 74 68 | 61 74 20 63 6f 6e 74 61 | file th|at conta|
|000029b0| 69 6e 73 0a 62 6f 74 68 | 20 70 65 72 73 6f 6e 73 |ins.both| persons|
|000029c0| 27 20 63 68 61 6e 67 65 | 73 20 74 6f 67 65 74 68 |' change|s togeth|
|000029d0| 65 72 20 77 69 74 68 20 | 77 61 72 6e 69 6e 67 73 |er with |warnings|
|000029e0| 20 61 62 6f 75 74 20 63 | 6f 6e 66 6c 69 63 74 73 | about c|onflicts|
|000029f0| 2e 0a 0a 20 20 20 59 6f | 75 20 63 61 6e 20 75 73 |... Yo|u can us|
|00002a00| 65 20 74 68 65 20 60 73 | 64 69 66 66 27 20 63 6f |e the `s|diff' co|
|00002a10| 6d 6d 61 6e 64 20 74 6f | 20 6d 65 72 67 65 20 74 |mmand to| merge t|
|00002a20| 77 6f 20 66 69 6c 65 73 | 20 69 6e 74 65 72 61 63 |wo files| interac|
|00002a30| 74 69 76 65 6c 79 2e 0a | 0a 20 20 20 59 6f 75 20 |tively..|. You |
|00002a40| 63 61 6e 20 75 73 65 20 | 74 68 65 20 73 65 74 20 |can use |the set |
|00002a50| 6f 66 20 64 69 66 66 65 | 72 65 6e 63 65 73 20 70 |of diffe|rences p|
|00002a60| 72 6f 64 75 63 65 64 20 | 62 79 20 60 64 69 66 66 |roduced |by `diff|
|00002a70| 27 20 74 6f 20 64 69 73 | 74 72 69 62 75 74 65 0a |' to dis|tribute.|
|00002a80| 75 70 64 61 74 65 73 20 | 74 6f 20 74 65 78 74 20 |updates |to text |
|00002a90| 66 69 6c 65 73 20 28 73 | 75 63 68 20 61 73 20 70 |files (s|uch as p|
|00002aa0| 72 6f 67 72 61 6d 20 73 | 6f 75 72 63 65 20 63 6f |rogram s|ource co|
|00002ab0| 64 65 29 20 74 6f 20 6f | 74 68 65 72 20 70 65 6f |de) to o|ther peo|
|00002ac0| 70 6c 65 2e 0a 54 68 69 | 73 20 6d 65 74 68 6f 64 |ple..Thi|s method|
|00002ad0| 20 69 73 20 65 73 70 65 | 63 69 61 6c 6c 79 20 75 | is espe|cially u|
|00002ae0| 73 65 66 75 6c 20 77 68 | 65 6e 20 74 68 65 20 64 |seful wh|en the d|
|00002af0| 69 66 66 65 72 65 6e 63 | 65 73 20 61 72 65 20 73 |ifferenc|es are s|
|00002b00| 6d 61 6c 6c 20 63 6f 6d | 70 61 72 65 64 0a 74 6f |mall com|pared.to|
|00002b10| 20 74 68 65 20 63 6f 6d | 70 6c 65 74 65 20 66 69 | the com|plete fi|
|00002b20| 6c 65 73 2e 20 20 47 69 | 76 65 6e 20 60 64 69 66 |les. Gi|ven `dif|
|00002b30| 66 27 20 6f 75 74 70 75 | 74 2c 20 79 6f 75 20 63 |f' outpu|t, you c|
|00002b40| 61 6e 20 75 73 65 20 74 | 68 65 20 60 70 61 74 63 |an use t|he `patc|
|00002b50| 68 27 0a 70 72 6f 67 72 | 61 6d 20 74 6f 20 75 70 |h'.progr|am to up|
|00002b60| 64 61 74 65 2c 20 6f 72 | 20 22 70 61 74 63 68 22 |date, or| "patch"|
|00002b70| 2c 20 61 20 63 6f 70 79 | 20 6f 66 20 74 68 65 20 |, a copy| of the |
|00002b80| 66 69 6c 65 2e 20 20 49 | 66 20 79 6f 75 20 74 68 |file. I|f you th|
|00002b90| 69 6e 6b 20 6f 66 0a 60 | 64 69 66 66 27 20 61 73 |ink of.`|diff' as|
|00002ba0| 20 73 75 62 74 72 61 63 | 74 69 6e 67 20 6f 6e 65 | subtrac|ting one|
|00002bb0| 20 66 69 6c 65 20 66 72 | 6f 6d 20 61 6e 6f 74 68 | file fr|om anoth|
|00002bc0| 65 72 20 74 6f 20 70 72 | 6f 64 75 63 65 20 74 68 |er to pr|oduce th|
|00002bd0| 65 69 72 0a 64 69 66 66 | 65 72 65 6e 63 65 2c 20 |eir.diff|erence, |
|00002be0| 79 6f 75 20 63 61 6e 20 | 74 68 69 6e 6b 20 6f 66 |you can |think of|
|00002bf0| 20 60 70 61 74 63 68 27 | 20 61 73 20 61 64 64 69 | `patch'| as addi|
|00002c00| 6e 67 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 63 |ng the d|ifferenc|
|00002c10| 65 20 74 6f 20 6f 6e 65 | 0a 66 69 6c 65 20 74 6f |e to one|.file to|
|00002c20| 20 72 65 70 72 6f 64 75 | 63 65 20 74 68 65 20 6f | reprodu|ce the o|
|00002c30| 74 68 65 72 2e 0a 0a 20 | 20 20 54 68 69 73 20 6d |ther... | This m|
|00002c40| 61 6e 75 61 6c 20 66 69 | 72 73 74 20 63 6f 6e 63 |anual fi|rst conc|
|00002c50| 65 6e 74 72 61 74 65 73 | 20 6f 6e 20 6d 61 6b 69 |entrates| on maki|
|00002c60| 6e 67 20 64 69 66 66 73 | 2c 20 61 6e 64 20 6c 61 |ng diffs|, and la|
|00002c70| 74 65 72 20 73 68 6f 77 | 73 20 68 6f 77 0a 74 6f |ter show|s how.to|
|00002c80| 20 75 73 65 20 64 69 66 | 66 73 20 74 6f 20 75 70 | use dif|fs to up|
|00002c90| 64 61 74 65 20 66 69 6c | 65 73 2e 0a 0a 20 20 20 |date fil|es... |
|00002ca0| 47 4e 55 20 60 64 69 66 | 66 27 20 77 61 73 20 77 |GNU `dif|f' was w|
|00002cb0| 72 69 74 74 65 6e 20 62 | 79 20 4d 69 6b 65 20 48 |ritten b|y Mike H|
|00002cc0| 61 65 72 74 65 6c 2c 20 | 44 61 76 69 64 20 48 61 |aertel, |David Ha|
|00002cd0| 79 65 73 2c 20 52 69 63 | 68 61 72 64 0a 53 74 61 |yes, Ric|hard.Sta|
|00002ce0| 6c 6c 6d 61 6e 2c 20 4c | 65 6e 20 54 6f 77 65 72 |llman, L|en Tower|
|00002cf0| 2c 20 61 6e 64 20 50 61 | 75 6c 20 45 67 67 65 72 |, and Pa|ul Egger|
|00002d00| 74 2e 20 20 57 61 79 6e | 65 20 44 61 76 69 73 6f |t. Wayn|e Daviso|
|00002d10| 6e 20 64 65 73 69 67 6e | 65 64 20 61 6e 64 0a 69 |n design|ed and.i|
|00002d20| 6d 70 6c 65 6d 65 6e 74 | 65 64 20 74 68 65 20 75 |mplement|ed the u|
|00002d30| 6e 69 66 69 65 64 20 6f | 75 74 70 75 74 20 66 6f |nified o|utput fo|
|00002d40| 72 6d 61 74 2e 20 20 54 | 68 65 20 62 61 73 69 63 |rmat. T|he basic|
|00002d50| 20 61 6c 67 6f 72 69 74 | 68 6d 20 69 73 20 64 65 | algorit|hm is de|
|00002d60| 73 63 72 69 62 65 64 0a | 69 6e 20 22 41 6e 20 4f |scribed.|in "An O|
|00002d70| 28 4e 44 29 20 44 69 66 | 66 65 72 65 6e 63 65 20 |(ND) Dif|ference |
|00002d80| 41 6c 67 6f 72 69 74 68 | 6d 20 61 6e 64 20 69 74 |Algorith|m and it|
|00002d90| 73 20 56 61 72 69 61 74 | 69 6f 6e 73 22 2c 20 45 |s Variat|ions", E|
|00002da0| 75 67 65 6e 65 20 4d 79 | 65 72 73 2c 0a 60 41 6c |ugene My|ers,.`Al|
|00002db0| 67 6f 72 69 74 68 6d 69 | 63 61 27 20 56 6f 6c 2e |gorithmi|ca' Vol.|
|00002dc0| 20 31 20 4e 6f 2e 20 32 | 2c 20 31 39 38 36 2c 20 | 1 No. 2|, 1986, |
|00002dd0| 70 2e 20 32 35 31 3b 20 | 61 6e 64 20 69 6e 20 22 |p. 251; |and in "|
|00002de0| 41 20 46 69 6c 65 20 43 | 6f 6d 70 61 72 69 73 6f |A File C|ompariso|
|00002df0| 6e 0a 50 72 6f 67 72 61 | 6d 22 2c 20 57 2e 20 4d |n.Progra|m", W. M|
|00002e00| 69 6c 6c 65 72 20 61 6e | 64 20 45 2e 20 4d 79 65 |iller an|d E. Mye|
|00002e10| 72 73 2c 20 60 53 6f 66 | 74 77 61 72 65 20 50 72 |rs, `Sof|tware Pr|
|00002e20| 61 63 74 69 63 65 20 61 | 6e 64 20 45 78 70 65 72 |actice a|nd Exper|
|00002e30| 69 65 6e 63 65 27 0a 56 | 6f 6c 2e 20 31 35 20 4e |ience'.V|ol. 15 N|
|00002e40| 6f 2e 20 31 31 2c 20 31 | 39 38 35 2c 20 70 2e 20 |o. 11, 1|985, p. |
|00002e50| 31 30 32 35 2e 0a 0a 20 | 20 20 47 4e 55 20 60 64 |1025... | GNU `d|
|00002e60| 69 66 66 33 27 20 77 61 | 73 20 77 72 69 74 74 65 |iff3' wa|s writte|
|00002e70| 6e 20 62 79 20 52 61 6e | 64 79 20 53 6d 69 74 68 |n by Ran|dy Smith|
|00002e80| 2e 20 20 47 4e 55 20 60 | 73 64 69 66 66 27 20 77 |. GNU `|sdiff' w|
|00002e90| 61 73 20 77 72 69 74 74 | 65 6e 20 62 79 0a 54 68 |as writt|en by.Th|
|00002ea0| 6f 6d 61 73 20 4c 6f 72 | 64 2e 20 20 47 4e 55 20 |omas Lor|d. GNU |
|00002eb0| 60 63 6d 70 27 20 77 61 | 73 20 77 72 69 74 74 65 |`cmp' wa|s writte|
|00002ec0| 6e 20 62 79 20 54 6f 72 | 62 6a 6f 72 6e 20 47 72 |n by Tor|bjorn Gr|
|00002ed0| 61 6e 6c 75 6e 64 20 61 | 6e 64 20 44 61 76 69 64 |anlund a|nd David|
|00002ee0| 0a 4d 61 63 4b 65 6e 7a | 69 65 2e 0a 0a 20 20 20 |.MacKenz|ie... |
|00002ef0| 60 70 61 74 63 68 27 20 | 77 61 73 20 77 72 69 74 |`patch' |was writ|
|00002f00| 74 65 6e 20 6d 61 69 6e | 6c 79 20 62 79 20 4c 61 |ten main|ly by La|
|00002f10| 72 72 79 20 57 61 6c 6c | 3b 20 74 68 65 20 47 4e |rry Wall|; the GN|
|00002f20| 55 20 65 6e 68 61 6e 63 | 65 6d 65 6e 74 73 20 77 |U enhanc|ements w|
|00002f30| 65 72 65 0a 77 72 69 74 | 74 65 6e 20 6d 61 69 6e |ere.writ|ten main|
|00002f40| 6c 79 20 62 79 20 57 61 | 79 6e 65 20 44 61 76 69 |ly by Wa|yne Davi|
|00002f50| 73 6f 6e 20 61 6e 64 20 | 44 61 76 69 64 20 4d 61 |son and |David Ma|
|00002f60| 63 4b 65 6e 7a 69 65 2e | 20 20 50 61 72 74 73 20 |cKenzie.| Parts |
|00002f70| 6f 66 20 74 68 69 73 0a | 6d 61 6e 75 61 6c 20 61 |of this.|manual a|
|00002f80| 72 65 20 61 64 61 70 74 | 65 64 20 66 72 6f 6d 20 |re adapt|ed from |
|00002f90| 61 20 6d 61 6e 75 61 6c | 20 70 61 67 65 20 77 72 |a manual| page wr|
|00002fa0| 69 74 74 65 6e 20 62 79 | 20 4c 61 72 72 79 20 57 |itten by| Larry W|
|00002fb0| 61 6c 6c 2c 20 77 69 74 | 68 20 68 69 73 0a 70 65 |all, wit|h his.pe|
|00002fc0| 72 6d 69 73 73 69 6f 6e | 2e 0a 0a 40 45 6e 64 4e |rmission|...@EndN|
|00002fd0| 6f 64 65 0a 0a 0a 40 4e | 6f 64 65 20 22 43 6f 6d |ode...@N|ode "Com|
|00002fe0| 70 61 72 69 73 6f 6e 22 | 20 22 43 6f 6d 70 61 72 |parison"| "Compar|
|00002ff0| 69 73 6f 6e 22 0a 40 4e | 65 78 74 20 22 4f 75 74 |ison".@N|ext "Out|
|00003000| 70 75 74 20 46 6f 72 6d | 61 74 73 22 20 22 4f 75 |put Form|ats" "Ou|
|00003010| 74 70 75 74 20 46 6f 72 | 6d 61 74 73 22 0a 40 50 |tput For|mats".@P|
|00003020| 72 65 76 20 22 4f 76 65 | 72 76 69 65 77 22 20 22 |rev "Ove|rview" "|
|00003030| 4f 76 65 72 76 69 65 77 | 22 0a 40 54 6f 63 20 22 |Overview|".@Toc "|
|00003040| 54 6f 70 22 20 22 54 6f | 70 22 0a 57 68 61 74 20 |Top" "To|p".What |
|00003050| 43 6f 6d 70 61 72 69 73 | 6f 6e 20 4d 65 61 6e 73 |Comparis|on Means|
|00003060| 0a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |.*******|********|
|00003070| 2a 2a 2a 2a 2a 2a 0a 0a | 20 20 20 54 68 65 72 65 |******..| There|
|00003080| 20 61 72 65 20 73 65 76 | 65 72 61 6c 20 77 61 79 | are sev|eral way|
|00003090| 73 20 74 6f 20 74 68 69 | 6e 6b 20 61 62 6f 75 74 |s to thi|nk about|
|000030a0| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 63 65 73 | the dif|ferences|
|000030b0| 20 62 65 74 77 65 65 6e | 20 74 77 6f 0a 66 69 6c | between| two.fil|
|000030c0| 65 73 2e 20 20 4f 6e 65 | 20 77 61 79 20 74 6f 20 |es. One| way to |
|000030d0| 74 68 69 6e 6b 20 6f 66 | 20 74 68 65 20 64 69 66 |think of| the dif|
|000030e0| 66 65 72 65 6e 63 65 73 | 20 69 73 20 61 73 20 61 |ferences| is as a|
|000030f0| 20 73 65 72 69 65 73 20 | 6f 66 20 6c 69 6e 65 73 | series |of lines|
|00003100| 0a 74 68 61 74 20 77 65 | 72 65 20 64 65 6c 65 74 |.that we|re delet|
|00003110| 65 64 20 66 72 6f 6d 2c | 20 69 6e 73 65 72 74 65 |ed from,| inserte|
|00003120| 64 20 69 6e 2c 20 6f 72 | 20 63 68 61 6e 67 65 64 |d in, or| changed|
|00003130| 20 69 6e 20 6f 6e 65 20 | 66 69 6c 65 20 74 6f 20 | in one |file to |
|00003140| 70 72 6f 64 75 63 65 0a | 74 68 65 20 6f 74 68 65 |produce.|the othe|
|00003150| 72 20 66 69 6c 65 2e 20 | 20 60 64 69 66 66 27 20 |r file. | `diff' |
|00003160| 63 6f 6d 70 61 72 65 73 | 20 74 77 6f 20 66 69 6c |compares| two fil|
|00003170| 65 73 20 6c 69 6e 65 20 | 62 79 20 6c 69 6e 65 2c |es line |by line,|
|00003180| 20 66 69 6e 64 73 20 67 | 72 6f 75 70 73 20 6f 66 | finds g|roups of|
|00003190| 0a 6c 69 6e 65 73 20 74 | 68 61 74 20 64 69 66 66 |.lines t|hat diff|
|000031a0| 65 72 2c 20 61 6e 64 20 | 72 65 70 6f 72 74 73 20 |er, and |reports |
|000031b0| 65 61 63 68 20 67 72 6f | 75 70 20 6f 66 20 64 69 |each gro|up of di|
|000031c0| 66 66 65 72 69 6e 67 20 | 6c 69 6e 65 73 2e 20 20 |ffering |lines. |
|000031d0| 49 74 20 63 61 6e 0a 72 | 65 70 6f 72 74 20 74 68 |It can.r|eport th|
|000031e0| 65 20 64 69 66 66 65 72 | 69 6e 67 20 6c 69 6e 65 |e differ|ing line|
|000031f0| 73 20 69 6e 20 73 65 76 | 65 72 61 6c 20 66 6f 72 |s in sev|eral for|
|00003200| 6d 61 74 73 2c 20 77 68 | 69 63 68 20 68 61 76 65 |mats, wh|ich have|
|00003210| 20 64 69 66 66 65 72 65 | 6e 74 0a 70 75 72 70 6f | differe|nt.purpo|
|00003220| 73 65 73 2e 0a 0a 20 20 | 20 47 4e 55 20 60 64 69 |ses... | GNU `di|
|00003230| 66 66 27 20 63 61 6e 20 | 73 68 6f 77 20 77 68 65 |ff' can |show whe|
|00003240| 74 68 65 72 20 66 69 6c | 65 73 20 61 72 65 20 64 |ther fil|es are d|
|00003250| 69 66 66 65 72 65 6e 74 | 20 77 69 74 68 6f 75 74 |ifferent| without|
|00003260| 20 64 65 74 61 69 6c 69 | 6e 67 0a 74 68 65 20 64 | detaili|ng.the d|
|00003270| 69 66 66 65 72 65 6e 63 | 65 73 2e 20 20 49 74 20 |ifferenc|es. It |
|00003280| 61 6c 73 6f 20 70 72 6f | 76 69 64 65 73 20 77 61 |also pro|vides wa|
|00003290| 79 73 20 74 6f 20 73 75 | 70 70 72 65 73 73 20 63 |ys to su|ppress c|
|000032a0| 65 72 74 61 69 6e 20 6b | 69 6e 64 73 20 6f 66 0a |ertain k|inds of.|
|000032b0| 64 69 66 66 65 72 65 6e | 63 65 73 20 74 68 61 74 |differen|ces that|
|000032c0| 20 61 72 65 20 6e 6f 74 | 20 69 6d 70 6f 72 74 61 | are not| importa|
|000032d0| 6e 74 20 74 6f 20 79 6f | 75 2e 20 20 4d 6f 73 74 |nt to yo|u. Most|
|000032e0| 20 63 6f 6d 6d 6f 6e 6c | 79 2c 20 73 75 63 68 0a | commonl|y, such.|
|000032f0| 64 69 66 66 65 72 65 6e | 63 65 73 20 61 72 65 20 |differen|ces are |
|00003300| 63 68 61 6e 67 65 73 20 | 69 6e 20 74 68 65 20 61 |changes |in the a|
|00003310| 6d 6f 75 6e 74 20 6f 66 | 20 77 68 69 74 65 20 73 |mount of| white s|
|00003320| 70 61 63 65 20 62 65 74 | 77 65 65 6e 20 77 6f 72 |pace bet|ween wor|
|00003330| 64 73 20 6f 72 0a 6c 69 | 6e 65 73 2e 20 20 60 64 |ds or.li|nes. `d|
|00003340| 69 66 66 27 20 61 6c 73 | 6f 20 70 72 6f 76 69 64 |iff' als|o provid|
|00003350| 65 73 20 77 61 79 73 20 | 74 6f 20 73 75 70 70 72 |es ways |to suppr|
|00003360| 65 73 73 20 64 69 66 66 | 65 72 65 6e 63 65 73 20 |ess diff|erences |
|00003370| 69 6e 20 61 6c 70 68 61 | 62 65 74 69 63 0a 63 61 |in alpha|betic.ca|
|00003380| 73 65 20 6f 72 20 69 6e | 20 6c 69 6e 65 73 20 74 |se or in| lines t|
|00003390| 68 61 74 20 6d 61 74 63 | 68 20 61 20 72 65 67 75 |hat matc|h a regu|
|000033a0| 6c 61 72 20 65 78 70 72 | 65 73 73 69 6f 6e 20 74 |lar expr|ession t|
|000033b0| 68 61 74 20 79 6f 75 20 | 70 72 6f 76 69 64 65 2e |hat you |provide.|
|000033c0| 0a 54 68 65 73 65 20 6f | 70 74 69 6f 6e 73 20 63 |.These o|ptions c|
|000033d0| 61 6e 20 61 63 63 75 6d | 75 6c 61 74 65 3b 20 66 |an accum|ulate; f|
|000033e0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 79 6f 75 20 |or examp|le, you |
|000033f0| 63 61 6e 20 69 67 6e 6f | 72 65 20 63 68 61 6e 67 |can igno|re chang|
|00003400| 65 73 20 69 6e 0a 62 6f | 74 68 20 77 68 69 74 65 |es in.bo|th white|
|00003410| 20 73 70 61 63 65 20 61 | 6e 64 20 61 6c 70 68 61 | space a|nd alpha|
|00003420| 62 65 74 69 63 20 63 61 | 73 65 2e 0a 0a 20 20 20 |betic ca|se... |
|00003430| 41 6e 6f 74 68 65 72 20 | 77 61 79 20 74 6f 20 74 |Another |way to t|
|00003440| 68 69 6e 6b 20 6f 66 20 | 74 68 65 20 64 69 66 66 |hink of |the diff|
|00003450| 65 72 65 6e 63 65 73 20 | 62 65 74 77 65 65 6e 20 |erences |between |
|00003460| 74 77 6f 20 66 69 6c 65 | 73 20 69 73 20 61 73 20 |two file|s is as |
|00003470| 61 0a 73 65 71 75 65 6e | 63 65 20 6f 66 20 70 61 |a.sequen|ce of pa|
|00003480| 69 72 73 20 6f 66 20 63 | 68 61 72 61 63 74 65 72 |irs of c|haracter|
|00003490| 73 20 74 68 61 74 20 63 | 61 6e 20 62 65 20 65 69 |s that c|an be ei|
|000034a0| 74 68 65 72 20 69 64 65 | 6e 74 69 63 61 6c 20 6f |ther ide|ntical o|
|000034b0| 72 0a 64 69 66 66 65 72 | 65 6e 74 2e 20 20 60 63 |r.differ|ent. `c|
|000034c0| 6d 70 27 20 72 65 70 6f | 72 74 73 20 74 68 65 20 |mp' repo|rts the |
|000034d0| 64 69 66 66 65 72 65 6e | 63 65 73 20 62 65 74 77 |differen|ces betw|
|000034e0| 65 65 6e 20 74 77 6f 20 | 66 69 6c 65 73 20 63 68 |een two |files ch|
|000034f0| 61 72 61 63 74 65 72 0a | 62 79 20 63 68 61 72 61 |aracter.|by chara|
|00003500| 63 74 65 72 2c 20 69 6e | 73 74 65 61 64 20 6f 66 |cter, in|stead of|
|00003510| 20 6c 69 6e 65 20 62 79 | 20 6c 69 6e 65 2e 20 20 | line by| line. |
|00003520| 41 73 20 61 20 72 65 73 | 75 6c 74 2c 20 69 74 20 |As a res|ult, it |
|00003530| 69 73 20 6d 6f 72 65 20 | 75 73 65 66 75 6c 0a 74 |is more |useful.t|
|00003540| 68 61 6e 20 60 64 69 66 | 66 27 20 66 6f 72 20 63 |han `dif|f' for c|
|00003550| 6f 6d 70 61 72 69 6e 67 | 20 62 69 6e 61 72 79 20 |omparing| binary |
|00003560| 66 69 6c 65 73 2e 20 20 | 46 6f 72 20 74 65 78 74 |files. |For text|
|00003570| 20 66 69 6c 65 73 2c 20 | 60 63 6d 70 27 20 69 73 | files, |`cmp' is|
|00003580| 0a 75 73 65 66 75 6c 20 | 6d 61 69 6e 6c 79 20 77 |.useful |mainly w|
|00003590| 68 65 6e 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |hen you |want to |
|000035a0| 6b 6e 6f 77 20 6f 6e 6c | 79 20 77 68 65 74 68 65 |know onl|y whethe|
|000035b0| 72 20 74 77 6f 20 66 69 | 6c 65 73 20 61 72 65 0a |r two fi|les are.|
|000035c0| 69 64 65 6e 74 69 63 61 | 6c 2e 20 20 46 6f 72 20 |identica|l. For |
|000035d0| 74 68 69 73 20 70 75 72 | 70 6f 73 65 2c 20 69 74 |this pur|pose, it|
|000035e0| 20 69 73 20 62 65 74 74 | 65 72 20 74 68 61 6e 20 | is bett|er than |
|000035f0| 60 64 69 66 66 27 20 62 | 65 63 61 75 73 65 20 69 |`diff' b|ecause i|
|00003600| 74 20 69 73 0a 6d 75 63 | 68 20 66 61 73 74 65 72 |t is.muc|h faster|
|00003610| 2e 0a 0a 20 20 20 54 6f | 20 69 6c 6c 75 73 74 72 |... To| illustr|
|00003620| 61 74 65 20 74 68 65 20 | 65 66 66 65 63 74 20 74 |ate the |effect t|
|00003630| 68 61 74 20 63 6f 6e 73 | 69 64 65 72 69 6e 67 20 |hat cons|idering |
|00003640| 63 68 61 6e 67 65 73 20 | 63 68 61 72 61 63 74 65 |changes |characte|
|00003650| 72 20 62 79 0a 63 68 61 | 72 61 63 74 65 72 20 63 |r by.cha|racter c|
|00003660| 61 6e 20 68 61 76 65 20 | 63 6f 6d 70 61 72 65 64 |an have |compared|
|00003670| 20 77 69 74 68 20 63 6f | 6e 73 69 64 65 72 69 6e | with co|nsiderin|
|00003680| 67 20 74 68 65 6d 20 6c | 69 6e 65 20 62 79 20 6c |g them l|ine by l|
|00003690| 69 6e 65 2c 20 74 68 69 | 6e 6b 0a 6f 66 20 77 68 |ine, thi|nk.of wh|
|000036a0| 61 74 20 68 61 70 70 65 | 6e 73 20 69 66 20 61 20 |at happe|ns if a |
|000036b0| 73 69 6e 67 6c 65 20 6e | 65 77 6c 69 6e 65 20 63 |single n|ewline c|
|000036c0| 68 61 72 61 63 74 65 72 | 20 69 73 20 61 64 64 65 |haracter| is adde|
|000036d0| 64 20 74 6f 20 74 68 65 | 20 62 65 67 69 6e 6e 69 |d to the| beginni|
|000036e0| 6e 67 0a 6f 66 20 61 20 | 66 69 6c 65 2e 20 20 49 |ng.of a |file. I|
|000036f0| 66 20 74 68 61 74 20 66 | 69 6c 65 20 69 73 20 74 |f that f|ile is t|
|00003700| 68 65 6e 20 63 6f 6d 70 | 61 72 65 64 20 77 69 74 |hen comp|ared wit|
|00003710| 68 20 61 6e 20 6f 74 68 | 65 72 77 69 73 65 20 69 |h an oth|erwise i|
|00003720| 64 65 6e 74 69 63 61 6c | 0a 66 69 6c 65 20 74 68 |dentical|.file th|
|00003730| 61 74 20 6c 61 63 6b 73 | 20 74 68 65 20 6e 65 77 |at lacks| the new|
|00003740| 6c 69 6e 65 20 61 74 20 | 74 68 65 20 62 65 67 69 |line at |the begi|
|00003750| 6e 6e 69 6e 67 2c 20 60 | 64 69 66 66 27 20 77 69 |nning, `|diff' wi|
|00003760| 6c 6c 20 72 65 70 6f 72 | 74 20 74 68 61 74 20 61 |ll repor|t that a|
|00003770| 0a 62 6c 61 6e 6b 20 6c | 69 6e 65 20 68 61 73 20 |.blank l|ine has |
|00003780| 62 65 65 6e 20 61 64 64 | 65 64 20 74 6f 20 74 68 |been add|ed to th|
|00003790| 65 20 66 69 6c 65 2c 20 | 77 68 69 6c 65 20 60 63 |e file, |while `c|
|000037a0| 6d 70 27 20 77 69 6c 6c | 20 72 65 70 6f 72 74 20 |mp' will| report |
|000037b0| 74 68 61 74 0a 61 6c 6d | 6f 73 74 20 65 76 65 72 |that.alm|ost ever|
|000037c0| 79 20 63 68 61 72 61 63 | 74 65 72 20 6f 66 20 74 |y charac|ter of t|
|000037d0| 68 65 20 74 77 6f 20 66 | 69 6c 65 73 20 64 69 66 |he two f|iles dif|
|000037e0| 66 65 72 73 2e 0a 0a 20 | 20 20 60 64 69 66 66 33 |fers... | `diff3|
|000037f0| 27 20 6e 6f 72 6d 61 6c | 6c 79 20 63 6f 6d 70 61 |' normal|ly compa|
|00003800| 72 65 73 20 74 68 72 65 | 65 20 69 6e 70 75 74 20 |res thre|e input |
|00003810| 66 69 6c 65 73 20 6c 69 | 6e 65 20 62 79 20 6c 69 |files li|ne by li|
|00003820| 6e 65 2c 20 66 69 6e 64 | 73 0a 67 72 6f 75 70 73 |ne, find|s.groups|
|00003830| 20 6f 66 20 6c 69 6e 65 | 73 20 74 68 61 74 20 64 | of line|s that d|
|00003840| 69 66 66 65 72 2c 20 61 | 6e 64 20 72 65 70 6f 72 |iffer, a|nd repor|
|00003850| 74 73 20 65 61 63 68 20 | 67 72 6f 75 70 20 6f 66 |ts each |group of|
|00003860| 20 64 69 66 66 65 72 69 | 6e 67 20 6c 69 6e 65 73 | differi|ng lines|
|00003870| 2e 0a 49 74 73 20 6f 75 | 74 70 75 74 20 69 73 20 |..Its ou|tput is |
|00003880| 64 65 73 69 67 6e 65 64 | 20 74 6f 20 6d 61 6b 65 |designed| to make|
|00003890| 20 69 74 20 65 61 73 79 | 20 74 6f 20 69 6e 73 70 | it easy| to insp|
|000038a0| 65 63 74 20 74 77 6f 20 | 64 69 66 66 65 72 65 6e |ect two |differen|
|000038b0| 74 20 73 65 74 73 20 6f | 66 0a 63 68 61 6e 67 65 |t sets o|f.change|
|000038c0| 73 20 74 6f 20 74 68 65 | 20 73 61 6d 65 20 66 69 |s to the| same fi|
|000038d0| 6c 65 2e 0a 0a 2a 20 4d | 65 6e 75 3a 0a 0a 2a 20 |le...* M|enu:..* |
|000038e0| 40 7b 22 48 75 6e 6b 73 | 22 20 4c 69 6e 6b 20 22 |@{"Hunks|" Link "|
|000038f0| 48 75 6e 6b 73 22 7d 20 | 09 09 47 72 6f 75 70 73 |Hunks"} |..Groups|
|00003900| 20 6f 66 20 64 69 66 66 | 65 72 69 6e 67 20 6c 69 | of diff|ering li|
|00003910| 6e 65 73 2e 0a 2a 20 40 | 7b 22 57 68 69 74 65 20 |nes..* @|{"White |
|00003920| 53 70 61 63 65 22 20 4c | 69 6e 6b 20 22 57 68 69 |Space" L|ink "Whi|
|00003930| 74 65 20 53 70 61 63 65 | 22 7d 20 09 09 53 75 70 |te Space|"} ..Sup|
|00003940| 70 72 65 73 73 69 6e 67 | 20 64 69 66 66 65 72 65 |pressing| differe|
|00003950| 6e 63 65 73 20 69 6e 20 | 77 68 69 74 65 20 73 70 |nces in |white sp|
|00003960| 61 63 65 2e 0a 2a 20 40 | 7b 22 42 6c 61 6e 6b 20 |ace..* @|{"Blank |
|00003970| 4c 69 6e 65 73 22 20 4c | 69 6e 6b 20 22 42 6c 61 |Lines" L|ink "Bla|
|00003980| 6e 6b 20 4c 69 6e 65 73 | 22 7d 20 09 09 53 75 70 |nk Lines|"} ..Sup|
|00003990| 70 72 65 73 73 69 6e 67 | 20 64 69 66 66 65 72 65 |pressing| differe|
|000039a0| 6e 63 65 73 20 69 6e 20 | 62 6c 61 6e 6b 20 6c 69 |nces in |blank li|
|000039b0| 6e 65 73 2e 0a 2a 20 40 | 7b 22 43 61 73 65 20 46 |nes..* @|{"Case F|
|000039c0| 6f 6c 64 69 6e 67 22 20 | 4c 69 6e 6b 20 22 43 61 |olding" |Link "Ca|
|000039d0| 73 65 20 46 6f 6c 64 69 | 6e 67 22 7d 20 09 53 75 |se Foldi|ng"} .Su|
|000039e0| 70 70 72 65 73 73 69 6e | 67 20 64 69 66 66 65 72 |ppressin|g differ|
|000039f0| 65 6e 63 65 73 20 69 6e | 20 61 6c 70 68 61 62 65 |ences in| alphabe|
|00003a00| 74 69 63 20 63 61 73 65 | 2e 0a 2a 20 40 7b 22 53 |tic case|..* @{"S|
|00003a10| 70 65 63 69 66 69 65 64 | 20 46 6f 6c 64 69 6e 67 |pecified| Folding|
|00003a20| 22 20 4c 69 6e 6b 20 22 | 53 70 65 63 69 66 69 65 |" Link "|Specifie|
|00003a30| 64 20 46 6f 6c 64 69 6e | 67 22 7d 20 09 53 75 70 |d Foldin|g"} .Sup|
|00003a40| 70 72 65 73 73 69 6e 67 | 20 64 69 66 66 65 72 65 |pressing| differe|
|00003a50| 6e 63 65 73 20 74 68 61 | 74 20 6d 61 74 63 68 20 |nces tha|t match |
|00003a60| 72 65 67 75 6c 61 72 20 | 65 78 70 72 65 73 73 69 |regular |expressi|
|00003a70| 6f 6e 73 2e 0a 2a 20 40 | 7b 22 42 72 69 65 66 22 |ons..* @|{"Brief"|
|00003a80| 20 4c 69 6e 6b 20 22 42 | 72 69 65 66 22 7d 20 09 | Link "B|rief"} .|
|00003a90| 09 53 75 6d 6d 61 72 69 | 7a 69 6e 67 20 77 68 69 |.Summari|zing whi|
|00003aa0| 63 68 20 66 69 6c 65 73 | 20 61 72 65 20 64 69 66 |ch files| are dif|
|00003ab0| 66 65 72 65 6e 74 2e 0a | 2a 20 40 7b 22 42 69 6e |ferent..|* @{"Bin|
|00003ac0| 61 72 79 22 20 4c 69 6e | 6b 20 22 42 69 6e 61 72 |ary" Lin|k "Binar|
|00003ad0| 79 22 7d 20 09 09 43 6f | 6d 70 61 72 69 6e 67 20 |y"} ..Co|mparing |
|00003ae0| 62 69 6e 61 72 79 20 66 | 69 6c 65 73 20 6f 72 20 |binary f|iles or |
|00003af0| 66 6f 72 63 69 6e 67 20 | 74 65 78 74 20 63 6f 6d |forcing |text com|
|00003b00| 70 61 72 69 73 6f 6e 73 | 2e 0a 0a 40 45 6e 64 4e |parisons|...@EndN|
|00003b10| 6f 64 65 0a 0a 0a 40 4e | 6f 64 65 20 22 48 75 6e |ode...@N|ode "Hun|
|00003b20| 6b 73 22 20 22 48 75 6e | 6b 73 22 0a 40 4e 65 78 |ks" "Hun|ks".@Nex|
|00003b30| 74 20 22 57 68 69 74 65 | 20 53 70 61 63 65 22 20 |t "White| Space" |
|00003b40| 22 57 68 69 74 65 20 53 | 70 61 63 65 22 0a 40 54 |"White S|pace".@T|
|00003b50| 6f 63 20 22 43 6f 6d 70 | 61 72 69 73 6f 6e 22 20 |oc "Comp|arison" |
|00003b60| 22 43 6f 6d 70 61 72 69 | 73 6f 6e 22 0a 48 75 6e |"Compari|son".Hun|
|00003b70| 6b 73 0a 3d 3d 3d 3d 3d | 0a 0a 20 20 20 57 68 65 |ks.=====|.. Whe|
|00003b80| 6e 20 63 6f 6d 70 61 72 | 69 6e 67 20 74 77 6f 20 |n compar|ing two |
|00003b90| 66 69 6c 65 73 2c 20 60 | 64 69 66 66 27 20 66 69 |files, `|diff' fi|
|00003ba0| 6e 64 73 20 73 65 71 75 | 65 6e 63 65 73 20 6f 66 |nds sequ|ences of|
|00003bb0| 20 6c 69 6e 65 73 20 63 | 6f 6d 6d 6f 6e 20 74 6f | lines c|ommon to|
|00003bc0| 0a 62 6f 74 68 20 66 69 | 6c 65 73 2c 20 69 6e 74 |.both fi|les, int|
|00003bd0| 65 72 73 70 65 72 73 65 | 64 20 77 69 74 68 20 67 |ersperse|d with g|
|00003be0| 72 6f 75 70 73 20 6f 66 | 20 64 69 66 66 65 72 69 |roups of| differi|
|00003bf0| 6e 67 20 6c 69 6e 65 73 | 20 63 61 6c 6c 65 64 20 |ng lines| called |
|00003c00| 22 68 75 6e 6b 73 22 2e | 0a 43 6f 6d 70 61 72 69 |"hunks".|.Compari|
|00003c10| 6e 67 20 74 77 6f 20 69 | 64 65 6e 74 69 63 61 6c |ng two i|dentical|
|00003c20| 20 66 69 6c 65 73 20 79 | 69 65 6c 64 73 20 6f 6e | files y|ields on|
|00003c30| 65 20 73 65 71 75 65 6e | 63 65 20 6f 66 20 63 6f |e sequen|ce of co|
|00003c40| 6d 6d 6f 6e 20 6c 69 6e | 65 73 20 61 6e 64 0a 6e |mmon lin|es and.n|
|00003c50| 6f 20 68 75 6e 6b 73 2c | 20 62 65 63 61 75 73 65 |o hunks,| because|
|00003c60| 20 6e 6f 20 6c 69 6e 65 | 73 20 64 69 66 66 65 72 | no line|s differ|
|00003c70| 2e 20 20 43 6f 6d 70 61 | 72 69 6e 67 20 74 77 6f |. Compa|ring two|
|00003c80| 20 65 6e 74 69 72 65 6c | 79 20 64 69 66 66 65 72 | entirel|y differ|
|00003c90| 65 6e 74 0a 66 69 6c 65 | 73 20 79 69 65 6c 64 73 |ent.file|s yields|
|00003ca0| 20 6e 6f 20 63 6f 6d 6d | 6f 6e 20 6c 69 6e 65 73 | no comm|on lines|
|00003cb0| 20 61 6e 64 20 6f 6e 65 | 20 6c 61 72 67 65 20 68 | and one| large h|
|00003cc0| 75 6e 6b 20 74 68 61 74 | 20 63 6f 6e 74 61 69 6e |unk that| contain|
|00003cd0| 73 20 61 6c 6c 20 6c 69 | 6e 65 73 0a 6f 66 20 62 |s all li|nes.of b|
|00003ce0| 6f 74 68 20 66 69 6c 65 | 73 2e 20 20 49 6e 20 67 |oth file|s. In g|
|00003cf0| 65 6e 65 72 61 6c 2c 20 | 74 68 65 72 65 20 61 72 |eneral, |there ar|
|00003d00| 65 20 6d 61 6e 79 20 77 | 61 79 73 20 74 6f 20 6d |e many w|ays to m|
|00003d10| 61 74 63 68 20 75 70 20 | 6c 69 6e 65 73 0a 62 65 |atch up |lines.be|
|00003d20| 74 77 65 65 6e 20 74 77 | 6f 20 67 69 76 65 6e 20 |tween tw|o given |
|00003d30| 66 69 6c 65 73 2e 20 20 | 60 64 69 66 66 27 20 74 |files. |`diff' t|
|00003d40| 72 69 65 73 20 74 6f 20 | 6d 69 6e 69 6d 69 7a 65 |ries to |minimize|
|00003d50| 20 74 68 65 20 74 6f 74 | 61 6c 20 68 75 6e 6b 20 | the tot|al hunk |
|00003d60| 73 69 7a 65 0a 62 79 20 | 66 69 6e 64 69 6e 67 20 |size.by |finding |
|00003d70| 6c 61 72 67 65 20 73 65 | 71 75 65 6e 63 65 73 20 |large se|quences |
|00003d80| 6f 66 20 63 6f 6d 6d 6f | 6e 20 6c 69 6e 65 73 20 |of commo|n lines |
|00003d90| 69 6e 74 65 72 73 70 65 | 72 73 65 64 20 77 69 74 |interspe|rsed wit|
|00003da0| 68 20 73 6d 61 6c 6c 0a | 68 75 6e 6b 73 20 6f 66 |h small.|hunks of|
|00003db0| 20 64 69 66 66 65 72 69 | 6e 67 20 6c 69 6e 65 73 | differi|ng lines|
|00003dc0| 2e 0a 0a 20 20 20 46 6f | 72 20 65 78 61 6d 70 6c |... Fo|r exampl|
|00003dd0| 65 2c 20 73 75 70 70 6f | 73 65 20 74 68 65 20 66 |e, suppo|se the f|
|00003de0| 69 6c 65 20 60 46 27 20 | 63 6f 6e 74 61 69 6e 73 |ile `F' |contains|
|00003df0| 20 74 68 65 20 74 68 72 | 65 65 20 6c 69 6e 65 73 | the thr|ee lines|
|00003e00| 20 60 61 27 2c 20 60 62 | 27 2c 0a 60 63 27 2c 20 | `a', `b|',.`c', |
|00003e10| 61 6e 64 20 74 68 65 20 | 66 69 6c 65 20 60 47 27 |and the |file `G'|
|00003e20| 20 63 6f 6e 74 61 69 6e | 73 20 74 68 65 20 73 61 | contain|s the sa|
|00003e30| 6d 65 20 74 68 72 65 65 | 20 6c 69 6e 65 73 20 69 |me three| lines i|
|00003e40| 6e 20 72 65 76 65 72 73 | 65 20 6f 72 64 65 72 0a |n revers|e order.|
|00003e50| 60 63 27 2c 20 60 62 27 | 2c 20 60 61 27 2e 20 20 |`c', `b'|, `a'. |
|00003e60| 49 66 20 60 64 69 66 66 | 27 20 66 69 6e 64 73 20 |If `diff|' finds |
|00003e70| 74 68 65 20 6c 69 6e 65 | 20 60 63 27 20 61 73 20 |the line| `c' as |
|00003e80| 63 6f 6d 6d 6f 6e 2c 20 | 74 68 65 6e 20 74 68 65 |common, |then the|
|00003e90| 20 63 6f 6d 6d 61 6e 64 | 0a 60 64 69 66 66 20 46 | command|.`diff F|
|00003ea0| 20 47 27 20 70 72 6f 64 | 75 63 65 73 20 74 68 69 | G' prod|uces thi|
|00003eb0| 73 20 6f 75 74 70 75 74 | 3a 0a 0a 20 20 20 20 20 |s output|:.. |
|00003ec0| 31 2c 32 64 30 0a 20 20 | 20 20 20 3c 20 61 0a 20 |1,2d0. | < a. |
|00003ed0| 20 20 20 20 3c 20 62 0a | 20 20 20 20 20 33 61 32 | < b.| 3a2|
|00003ee0| 2c 33 0a 20 20 20 20 20 | 3e 20 62 0a 20 20 20 20 |,3. |> b. |
|00003ef0| 20 3e 20 61 0a 0a 42 75 | 74 20 69 66 20 60 64 69 | > a..Bu|t if `di|
|00003f00| 66 66 27 20 6e 6f 74 69 | 63 65 73 20 74 68 65 20 |ff' noti|ces the |
|00003f10| 63 6f 6d 6d 6f 6e 20 6c | 69 6e 65 20 60 62 27 20 |common l|ine `b' |
|00003f20| 69 6e 73 74 65 61 64 2c | 20 69 74 20 70 72 6f 64 |instead,| it prod|
|00003f30| 75 63 65 73 20 74 68 69 | 73 0a 6f 75 74 70 75 74 |uces thi|s.output|
|00003f40| 3a 0a 0a 20 20 20 20 20 | 31 63 31 0a 20 20 20 20 |:.. |1c1. |
|00003f50| 20 3c 20 61 0a 20 20 20 | 20 20 2d 2d 2d 0a 20 20 | < a. | ---. |
|00003f60| 20 20 20 3e 20 63 0a 20 | 20 20 20 20 33 63 33 0a | > c. | 3c3.|
|00003f70| 20 20 20 20 20 3c 20 63 | 0a 20 20 20 20 20 2d 2d | < c|. --|
|00003f80| 2d 0a 20 20 20 20 20 3e | 20 61 0a 0a 49 74 20 69 |-. >| a..It i|
|00003f90| 73 20 61 6c 73 6f 20 70 | 6f 73 73 69 62 6c 65 20 |s also p|ossible |
|00003fa0| 74 6f 20 66 69 6e 64 20 | 60 61 27 20 61 73 20 74 |to find |`a' as t|
|00003fb0| 68 65 20 63 6f 6d 6d 6f | 6e 20 6c 69 6e 65 2e 20 |he commo|n line. |
|00003fc0| 20 60 64 69 66 66 27 20 | 64 6f 65 73 20 6e 6f 74 | `diff' |does not|
|00003fd0| 0a 61 6c 77 61 79 73 20 | 66 69 6e 64 20 61 6e 20 |.always |find an |
|00003fe0| 6f 70 74 69 6d 61 6c 20 | 6d 61 74 63 68 69 6e 67 |optimal |matching|
|00003ff0| 20 62 65 74 77 65 65 6e | 20 74 68 65 20 66 69 6c | between| the fil|
|00004000| 65 73 3b 20 69 74 20 74 | 61 6b 65 73 20 73 68 6f |es; it t|akes sho|
|00004010| 72 74 63 75 74 73 0a 74 | 6f 20 72 75 6e 20 66 61 |rtcuts.t|o run fa|
|00004020| 73 74 65 72 2e 20 20 42 | 75 74 20 69 74 73 20 6f |ster. B|ut its o|
|00004030| 75 74 70 75 74 20 69 73 | 20 75 73 75 61 6c 6c 79 |utput is| usually|
|00004040| 20 63 6c 6f 73 65 20 74 | 6f 20 74 68 65 20 73 68 | close t|o the sh|
|00004050| 6f 72 74 65 73 74 0a 70 | 6f 73 73 69 62 6c 65 2e |ortest.p|ossible.|
|00004060| 20 20 59 6f 75 20 63 61 | 6e 20 61 64 6a 75 73 74 | You ca|n adjust|
|00004070| 20 74 68 69 73 20 74 72 | 61 64 65 6f 66 66 20 77 | this tr|adeoff w|
|00004080| 69 74 68 20 74 68 65 20 | 60 2d 2d 6d 69 6e 69 6d |ith the |`--minim|
|00004090| 61 6c 27 20 6f 70 74 69 | 6f 6e 0a 28 40 7b 22 64 |al' opti|on.(@{"d|
|000040a0| 69 66 66 20 50 65 72 66 | 6f 72 6d 61 6e 63 65 22 |iff Perf|ormance"|
|000040b0| 20 4c 69 6e 6b 20 22 64 | 69 66 66 20 50 65 72 66 | Link "d|iff Perf|
|000040c0| 6f 72 6d 61 6e 63 65 22 | 7d 29 2e 0a 0a 40 45 6e |ormance"|})...@En|
|000040d0| 64 4e 6f 64 65 0a 0a 0a | 40 4e 6f 64 65 20 22 57 |dNode...|@Node "W|
|000040e0| 68 69 74 65 20 53 70 61 | 63 65 22 20 22 57 68 69 |hite Spa|ce" "Whi|
|000040f0| 74 65 20 53 70 61 63 65 | 22 0a 40 4e 65 78 74 20 |te Space|".@Next |
|00004100| 22 42 6c 61 6e 6b 20 4c | 69 6e 65 73 22 20 22 42 |"Blank L|ines" "B|
|00004110| 6c 61 6e 6b 20 4c 69 6e | 65 73 22 0a 40 50 72 65 |lank Lin|es".@Pre|
|00004120| 76 20 22 48 75 6e 6b 73 | 22 20 22 48 75 6e 6b 73 |v "Hunks|" "Hunks|
|00004130| 22 0a 40 54 6f 63 20 22 | 43 6f 6d 70 61 72 69 73 |".@Toc "|Comparis|
|00004140| 6f 6e 22 20 22 43 6f 6d | 70 61 72 69 73 6f 6e 22 |on" "Com|parison"|
|00004150| 0a 53 75 70 70 72 65 73 | 73 69 6e 67 20 44 69 66 |.Suppres|sing Dif|
|00004160| 66 65 72 65 6e 63 65 73 | 20 69 6e 20 42 6c 61 6e |ferences| in Blan|
|00004170| 6b 20 61 6e 64 20 54 61 | 62 20 53 70 61 63 69 6e |k and Ta|b Spacin|
|00004180| 67 0a 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |g.======|========|
|00004190| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000041a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000041b0| 3d 3d 0a 0a 20 20 20 54 | 68 65 20 60 2d 62 27 20 |==.. T|he `-b' |
|000041c0| 61 6e 64 20 60 2d 2d 69 | 67 6e 6f 72 65 2d 73 70 |and `--i|gnore-sp|
|000041d0| 61 63 65 2d 63 68 61 6e | 67 65 27 20 6f 70 74 69 |ace-chan|ge' opti|
|000041e0| 6f 6e 73 20 69 67 6e 6f | 72 65 20 77 68 69 74 65 |ons igno|re white|
|000041f0| 20 73 70 61 63 65 20 61 | 74 0a 6c 69 6e 65 20 65 | space a|t.line e|
|00004200| 6e 64 2c 20 61 6e 64 20 | 63 6f 6e 73 69 64 65 72 |nd, and |consider|
|00004210| 73 20 61 6c 6c 20 6f 74 | 68 65 72 20 73 65 71 75 |s all ot|her sequ|
|00004220| 65 6e 63 65 73 20 6f 66 | 20 6f 6e 65 20 6f 72 20 |ences of| one or |
|00004230| 6d 6f 72 65 20 77 68 69 | 74 65 20 73 70 61 63 65 |more whi|te space|
|00004240| 0a 63 68 61 72 61 63 74 | 65 72 73 20 74 6f 20 62 |.charact|ers to b|
|00004250| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 2e 20 20 57 |e equiva|lent. W|
|00004260| 69 74 68 20 74 68 65 73 | 65 20 6f 70 74 69 6f 6e |ith thes|e option|
|00004270| 73 2c 20 60 64 69 66 66 | 27 20 63 6f 6e 73 69 64 |s, `diff|' consid|
|00004280| 65 72 73 20 74 68 65 0a | 66 6f 6c 6c 6f 77 69 6e |ers the.|followin|
|00004290| 67 20 74 77 6f 20 6c 69 | 6e 65 73 20 74 6f 20 62 |g two li|nes to b|
|000042a0| 65 20 65 71 75 69 76 61 | 6c 65 6e 74 2c 20 77 68 |e equiva|lent, wh|
|000042b0| 65 72 65 20 60 24 27 20 | 64 65 6e 6f 74 65 73 20 |ere `$' |denotes |
|000042c0| 74 68 65 20 6c 69 6e 65 | 20 65 6e 64 3a 0a 0a 20 |the line| end:.. |
|000042d0| 20 20 20 20 48 65 72 65 | 20 6c 79 65 74 68 20 20 | Here| lyeth |
|000042e0| 6d 75 63 68 65 20 72 79 | 63 68 6e 65 73 73 65 20 |muche ry|chnesse |
|000042f0| 20 69 6e 20 6c 79 74 65 | 6c 6c 20 73 70 61 63 65 | in lyte|ll space|
|00004300| 2e 20 20 20 2d 2d 20 4a | 6f 68 6e 20 48 65 79 77 |. -- J|ohn Heyw|
|00004310| 6f 6f 64 24 0a 20 20 20 | 20 20 48 65 72 65 20 6c |ood$. | Here l|
|00004320| 79 65 74 68 20 6d 75 63 | 68 65 20 72 79 63 68 6e |yeth muc|he rychn|
|00004330| 65 73 73 65 20 69 6e 20 | 6c 79 74 65 6c 6c 20 73 |esse in |lytell s|
|00004340| 70 61 63 65 2e 20 2d 2d | 20 4a 6f 68 6e 20 48 65 |pace. --| John He|
|00004350| 79 77 6f 6f 64 20 20 20 | 24 0a 0a 20 20 20 54 68 |ywood |$.. Th|
|00004360| 65 20 60 2d 77 27 20 61 | 6e 64 20 60 2d 2d 69 67 |e `-w' a|nd `--ig|
|00004370| 6e 6f 72 65 2d 61 6c 6c | 2d 73 70 61 63 65 27 20 |nore-all|-space' |
|00004380| 6f 70 74 69 6f 6e 73 20 | 61 72 65 20 73 74 72 6f |options |are stro|
|00004390| 6e 67 65 72 20 74 68 61 | 6e 20 60 2d 62 27 2e 0a |nger tha|n `-b'..|
|000043a0| 54 68 65 79 20 69 67 6e | 6f 72 65 20 64 69 66 66 |They ign|ore diff|
|000043b0| 65 72 65 6e 63 65 20 65 | 76 65 6e 20 69 66 20 6f |erence e|ven if o|
|000043c0| 6e 65 20 66 69 6c 65 20 | 68 61 73 20 77 68 69 74 |ne file |has whit|
|000043d0| 65 20 73 70 61 63 65 20 | 77 68 65 72 65 20 74 68 |e space |where th|
|000043e0| 65 20 6f 74 68 65 72 0a | 66 69 6c 65 20 68 61 73 |e other.|file has|
|000043f0| 20 6e 6f 6e 65 2e 20 20 | 22 57 68 69 74 65 20 73 | none. |"White s|
|00004400| 70 61 63 65 22 20 63 68 | 61 72 61 63 74 65 72 73 |pace" ch|aracters|
|00004410| 20 69 6e 63 6c 75 64 65 | 20 74 61 62 2c 20 76 65 | include| tab, ve|
|00004420| 72 74 69 63 61 6c 20 74 | 61 62 2c 0a 66 6f 72 6d |rtical t|ab,.form|
|00004430| 20 66 65 65 64 2c 20 63 | 61 72 72 69 61 67 65 20 | feed, c|arriage |
|00004440| 72 65 74 75 72 6e 2c 20 | 61 6e 64 20 73 70 61 63 |return, |and spac|
|00004450| 65 3b 20 73 6f 6d 65 20 | 6c 6f 63 61 6c 65 73 20 |e; some |locales |
|00004460| 6d 61 79 20 64 65 66 69 | 6e 65 0a 61 64 64 69 74 |may defi|ne.addit|
|00004470| 69 6f 6e 61 6c 20 63 68 | 61 72 61 63 74 65 72 73 |ional ch|aracters|
|00004480| 20 74 6f 20 62 65 20 77 | 68 69 74 65 20 73 70 61 | to be w|hite spa|
|00004490| 63 65 2e 20 20 57 69 74 | 68 20 74 68 65 73 65 20 |ce. Wit|h these |
|000044a0| 6f 70 74 69 6f 6e 73 2c | 20 60 64 69 66 66 27 0a |options,| `diff'.|
|000044b0| 63 6f 6e 73 69 64 65 72 | 73 20 74 68 65 20 66 6f |consider|s the fo|
|000044c0| 6c 6c 6f 77 69 6e 67 20 | 74 77 6f 20 6c 69 6e 65 |llowing |two line|
|000044d0| 73 20 74 6f 20 62 65 20 | 65 71 75 69 76 61 6c 65 |s to be |equivale|
|000044e0| 6e 74 2c 20 77 68 65 72 | 65 20 60 24 27 20 64 65 |nt, wher|e `$' de|
|000044f0| 6e 6f 74 65 73 0a 74 68 | 65 20 6c 69 6e 65 20 65 |notes.th|e line e|
|00004500| 6e 64 20 61 6e 64 20 60 | 5e 4d 27 20 64 65 6e 6f |nd and `|^M' deno|
|00004510| 74 65 73 20 61 20 63 61 | 72 72 69 61 67 65 20 72 |tes a ca|rriage r|
|00004520| 65 74 75 72 6e 3a 0a 0a | 20 20 20 20 20 48 65 72 |eturn:..| Her|
|00004530| 65 20 6c 79 65 74 68 20 | 20 6d 75 63 68 65 20 20 |e lyeth | muche |
|00004540| 72 79 63 68 6e 65 73 73 | 65 20 69 6e 20 6c 79 74 |rychness|e in lyt|
|00004550| 65 6c 6c 20 73 70 61 63 | 65 2e 2d 2d 20 20 4a 6f |ell spac|e.-- Jo|
|00004560| 68 6e 20 48 65 79 77 6f | 6f 64 24 0a 20 20 20 20 |hn Heywo|od$. |
|00004570| 20 20 20 48 65 20 72 65 | 6c 79 65 74 68 20 6d 75 | He re|lyeth mu|
|00004580| 63 68 20 65 72 79 63 68 | 6e 65 73 20 20 73 65 69 |ch erych|nes sei|
|00004590| 6e 6c 79 20 74 65 6c 6c | 73 20 70 61 63 65 2e 20 |nly tell|s pace. |
|000045a0| 20 2d 2d 4a 6f 68 6e 20 | 48 65 79 77 6f 6f 64 20 | --John |Heywood |
|000045b0| 20 20 5e 4d 24 0a 0a 40 | 45 6e 64 4e 6f 64 65 0a | ^M$..@|EndNode.|
|000045c0| 0a 0a 40 4e 6f 64 65 20 | 22 42 6c 61 6e 6b 20 4c |..@Node |"Blank L|
|000045d0| 69 6e 65 73 22 20 22 42 | 6c 61 6e 6b 20 4c 69 6e |ines" "B|lank Lin|
|000045e0| 65 73 22 0a 40 4e 65 78 | 74 20 22 43 61 73 65 20 |es".@Nex|t "Case |
|000045f0| 46 6f 6c 64 69 6e 67 22 | 20 22 43 61 73 65 20 46 |Folding"| "Case F|
|00004600| 6f 6c 64 69 6e 67 22 0a | 40 50 72 65 76 20 22 57 |olding".|@Prev "W|
|00004610| 68 69 74 65 20 53 70 61 | 63 65 22 20 22 57 68 69 |hite Spa|ce" "Whi|
|00004620| 74 65 20 53 70 61 63 65 | 22 0a 40 54 6f 63 20 22 |te Space|".@Toc "|
|00004630| 43 6f 6d 70 61 72 69 73 | 6f 6e 22 20 22 43 6f 6d |Comparis|on" "Com|
|00004640| 70 61 72 69 73 6f 6e 22 | 0a 53 75 70 70 72 65 73 |parison"|.Suppres|
|00004650| 73 69 6e 67 20 44 69 66 | 66 65 72 65 6e 63 65 73 |sing Dif|ferences|
|00004660| 20 69 6e 20 42 6c 61 6e | 6b 20 4c 69 6e 65 73 0a | in Blan|k Lines.|
|00004670| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004680| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004690| 3d 3d 3d 3d 3d 3d 0a 0a | 20 20 20 54 68 65 20 60 |======..| The `|
|000046a0| 2d 42 27 20 61 6e 64 20 | 60 2d 2d 69 67 6e 6f 72 |-B' and |`--ignor|
|000046b0| 65 2d 62 6c 61 6e 6b 2d | 6c 69 6e 65 73 27 20 6f |e-blank-|lines' o|
|000046c0| 70 74 69 6f 6e 73 20 69 | 67 6e 6f 72 65 20 69 6e |ptions i|gnore in|
|000046d0| 73 65 72 74 69 6f 6e 73 | 20 6f 72 0a 64 65 6c 65 |sertions| or.dele|
|000046e0| 74 69 6f 6e 73 20 6f 66 | 20 62 6c 61 6e 6b 20 6c |tions of| blank l|
|000046f0| 69 6e 65 73 2e 20 20 54 | 68 65 73 65 20 6f 70 74 |ines. T|hese opt|
|00004700| 69 6f 6e 73 20 6e 6f 72 | 6d 61 6c 6c 79 20 61 66 |ions nor|mally af|
|00004710| 66 65 63 74 20 6f 6e 6c | 79 20 6c 69 6e 65 73 0a |fect onl|y lines.|
|00004720| 74 68 61 74 20 61 72 65 | 20 63 6f 6d 70 6c 65 74 |that are| complet|
|00004730| 65 6c 79 20 65 6d 70 74 | 79 3b 20 74 68 65 79 20 |ely empt|y; they |
|00004740| 64 6f 20 6e 6f 74 20 61 | 66 66 65 63 74 20 6c 69 |do not a|ffect li|
|00004750| 6e 65 73 20 74 68 61 74 | 20 6c 6f 6f 6b 20 65 6d |nes that| look em|
|00004760| 70 74 79 20 62 75 74 0a | 63 6f 6e 74 61 69 6e 20 |pty but.|contain |
|00004770| 73 70 61 63 65 20 6f 72 | 20 74 61 62 20 63 68 61 |space or| tab cha|
|00004780| 72 61 63 74 65 72 73 2e | 20 20 57 69 74 68 20 74 |racters.| With t|
|00004790| 68 65 73 65 20 6f 70 74 | 69 6f 6e 73 2c 20 66 6f |hese opt|ions, fo|
|000047a0| 72 20 65 78 61 6d 70 6c | 65 2c 20 61 0a 66 69 6c |r exampl|e, a.fil|
|000047b0| 65 20 63 6f 6e 74 61 69 | 6e 69 6e 67 0a 20 20 20 |e contai|ning. |
|000047c0| 20 20 31 2e 20 20 41 20 | 70 6f 69 6e 74 20 69 73 | 1. A |point is|
|000047d0| 20 74 68 61 74 20 77 68 | 69 63 68 20 68 61 73 20 | that wh|ich has |
|000047e0| 6e 6f 20 70 61 72 74 2e | 0a 20 20 20 20 20 0a 20 |no part.|. . |
|000047f0| 20 20 20 20 32 2e 20 20 | 41 20 6c 69 6e 65 20 69 | 2. |A line i|
|00004800| 73 20 62 72 65 61 64 74 | 68 6c 65 73 73 20 6c 65 |s breadt|hless le|
|00004810| 6e 67 74 68 2e 0a 20 20 | 20 20 20 2d 2d 20 45 75 |ngth.. | -- Eu|
|00004820| 63 6c 69 64 2c 20 54 68 | 65 20 45 6c 65 6d 65 6e |clid, Th|e Elemen|
|00004830| 74 73 2c 20 49 0a 0a 69 | 73 20 63 6f 6e 73 69 64 |ts, I..i|s consid|
|00004840| 65 72 65 64 20 69 64 65 | 6e 74 69 63 61 6c 20 74 |ered ide|ntical t|
|00004850| 6f 20 61 20 66 69 6c 65 | 20 63 6f 6e 74 61 69 6e |o a file| contain|
|00004860| 69 6e 67 0a 20 20 20 20 | 20 31 2e 20 20 41 20 70 |ing. | 1. A p|
|00004870| 6f 69 6e 74 20 69 73 20 | 74 68 61 74 20 77 68 69 |oint is |that whi|
|00004880| 63 68 20 68 61 73 20 6e | 6f 20 70 61 72 74 2e 0a |ch has n|o part..|
|00004890| 20 20 20 20 20 32 2e 20 | 20 41 20 6c 69 6e 65 20 | 2. | A line |
|000048a0| 69 73 20 62 72 65 61 64 | 74 68 6c 65 73 73 20 6c |is bread|thless l|
|000048b0| 65 6e 67 74 68 2e 0a 20 | 20 20 20 20 0a 20 20 20 |ength.. | . |
|000048c0| 20 20 0a 20 20 20 20 20 | 2d 2d 20 45 75 63 6c 69 | . |-- Eucli|
|000048d0| 64 2c 20 54 68 65 20 45 | 6c 65 6d 65 6e 74 73 2c |d, The E|lements,|
|000048e0| 20 49 0a 0a 40 45 6e 64 | 4e 6f 64 65 0a 0a 0a 40 | I..@End|Node...@|
|000048f0| 4e 6f 64 65 20 22 43 61 | 73 65 20 46 6f 6c 64 69 |Node "Ca|se Foldi|
|00004900| 6e 67 22 20 22 43 61 73 | 65 20 46 6f 6c 64 69 6e |ng" "Cas|e Foldin|
|00004910| 67 22 0a 40 4e 65 78 74 | 20 22 53 70 65 63 69 66 |g".@Next| "Specif|
|00004920| 69 65 64 20 46 6f 6c 64 | 69 6e 67 22 20 22 53 70 |ied Fold|ing" "Sp|
|00004930| 65 63 69 66 69 65 64 20 | 46 6f 6c 64 69 6e 67 22 |ecified |Folding"|
|00004940| 0a 40 50 72 65 76 20 22 | 42 6c 61 6e 6b 20 4c 69 |.@Prev "|Blank Li|
|00004950| 6e 65 73 22 20 22 42 6c | 61 6e 6b 20 4c 69 6e 65 |nes" "Bl|ank Line|
|00004960| 73 22 0a 40 54 6f 63 20 | 22 43 6f 6d 70 61 72 69 |s".@Toc |"Compari|
|00004970| 73 6f 6e 22 20 22 43 6f | 6d 70 61 72 69 73 6f 6e |son" "Co|mparison|
|00004980| 22 0a 53 75 70 70 72 65 | 73 73 69 6e 67 20 43 61 |".Suppre|ssing Ca|
|00004990| 73 65 20 44 69 66 66 65 | 72 65 6e 63 65 73 0a 3d |se Diffe|rences.=|
|000049a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000049b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 0a 20 20 20 |========|===.. |
|000049c0| 47 4e 55 20 60 64 69 66 | 66 27 20 63 61 6e 20 74 |GNU `dif|f' can t|
|000049d0| 72 65 61 74 20 6c 6f 77 | 65 72 63 61 73 65 20 6c |reat low|ercase l|
|000049e0| 65 74 74 65 72 73 20 61 | 73 20 65 71 75 69 76 61 |etters a|s equiva|
|000049f0| 6c 65 6e 74 20 74 6f 20 | 74 68 65 69 72 0a 75 70 |lent to |their.up|
|00004a00| 70 65 72 63 61 73 65 20 | 63 6f 75 6e 74 65 72 70 |percase |counterp|
|00004a10| 61 72 74 73 2c 20 73 6f | 20 74 68 61 74 2c 20 66 |arts, so| that, f|
|00004a20| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 69 74 20 63 |or examp|le, it c|
|00004a30| 6f 6e 73 69 64 65 72 73 | 20 60 46 75 6e 6b 79 0a |onsiders| `Funky.|
|00004a40| 53 74 75 66 66 27 2c 20 | 60 66 75 6e 6b 79 20 53 |Stuff', |`funky S|
|00004a50| 54 55 46 46 27 2c 20 61 | 6e 64 20 60 66 55 4e 4b |TUFF', a|nd `fUNK|
|00004a60| 79 20 73 74 75 46 66 27 | 20 74 6f 20 61 6c 6c 20 |y stuFf'| to all |
|00004a70| 62 65 20 74 68 65 20 73 | 61 6d 65 2e 20 20 54 6f |be the s|ame. To|
|00004a80| 0a 72 65 71 75 65 73 74 | 20 74 68 69 73 2c 20 75 |.request| this, u|
|00004a90| 73 65 20 74 68 65 20 60 | 2d 69 27 20 6f 72 20 60 |se the `|-i' or `|
|00004aa0| 2d 2d 69 67 6e 6f 72 65 | 2d 63 61 73 65 27 20 6f |--ignore|-case' o|
|00004ab0| 70 74 69 6f 6e 2e 0a 0a | 40 45 6e 64 4e 6f 64 65 |ption...|@EndNode|
|00004ac0| 0a 0a 0a 40 4e 6f 64 65 | 20 22 53 70 65 63 69 66 |...@Node| "Specif|
|00004ad0| 69 65 64 20 46 6f 6c 64 | 69 6e 67 22 20 22 53 70 |ied Fold|ing" "Sp|
|00004ae0| 65 63 69 66 69 65 64 20 | 46 6f 6c 64 69 6e 67 22 |ecified |Folding"|
|00004af0| 0a 40 4e 65 78 74 20 22 | 42 72 69 65 66 22 20 22 |.@Next "|Brief" "|
|00004b00| 42 72 69 65 66 22 0a 40 | 50 72 65 76 20 22 43 61 |Brief".@|Prev "Ca|
|00004b10| 73 65 20 46 6f 6c 64 69 | 6e 67 22 20 22 43 61 73 |se Foldi|ng" "Cas|
|00004b20| 65 20 46 6f 6c 64 69 6e | 67 22 0a 40 54 6f 63 20 |e Foldin|g".@Toc |
|00004b30| 22 43 6f 6d 70 61 72 69 | 73 6f 6e 22 20 22 43 6f |"Compari|son" "Co|
|00004b40| 6d 70 61 72 69 73 6f 6e | 22 0a 53 75 70 70 72 65 |mparison|".Suppre|
|00004b50| 73 73 69 6e 67 20 4c 69 | 6e 65 73 20 4d 61 74 63 |ssing Li|nes Matc|
|00004b60| 68 69 6e 67 20 61 20 52 | 65 67 75 6c 61 72 20 45 |hing a R|egular E|
|00004b70| 78 70 72 65 73 73 69 6f | 6e 0a 3d 3d 3d 3d 3d 3d |xpressio|n.======|
|00004b80| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004b90| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004ba0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 0a 20 20 20 54 6f |========|=.. To|
|00004bb0| 20 69 67 6e 6f 72 65 20 | 69 6e 73 65 72 74 69 6f | ignore |insertio|
|00004bc0| 6e 73 20 61 6e 64 20 64 | 65 6c 65 74 69 6f 6e 73 |ns and d|eletions|
|00004bd0| 20 6f 66 20 6c 69 6e 65 | 73 20 74 68 61 74 20 6d | of line|s that m|
|00004be0| 61 74 63 68 20 61 20 72 | 65 67 75 6c 61 72 0a 65 |atch a r|egular.e|
|00004bf0| 78 70 72 65 73 73 69 6f | 6e 2c 20 75 73 65 20 74 |xpressio|n, use t|
|00004c00| 68 65 20 60 2d 49 20 52 | 45 47 45 58 50 27 20 6f |he `-I R|EGEXP' o|
|00004c10| 72 20 60 2d 2d 69 67 6e | 6f 72 65 2d 6d 61 74 63 |r `--ign|ore-matc|
|00004c20| 68 69 6e 67 2d 6c 69 6e | 65 73 3d 52 45 47 45 58 |hing-lin|es=REGEX|
|00004c30| 50 27 0a 6f 70 74 69 6f | 6e 2e 20 20 59 6f 75 20 |P'.optio|n. You |
|00004c40| 73 68 6f 75 6c 64 20 65 | 73 63 61 70 65 20 72 65 |should e|scape re|
|00004c50| 67 75 6c 61 72 20 65 78 | 70 72 65 73 73 69 6f 6e |gular ex|pression|
|00004c60| 73 20 74 68 61 74 20 63 | 6f 6e 74 61 69 6e 20 73 |s that c|ontain s|
|00004c70| 68 65 6c 6c 0a 6d 65 74 | 61 63 68 61 72 61 63 74 |hell.met|acharact|
|00004c80| 65 72 73 20 74 6f 20 70 | 72 65 76 65 6e 74 20 74 |ers to p|revent t|
|00004c90| 68 65 20 73 68 65 6c 6c | 20 66 72 6f 6d 20 65 78 |he shell| from ex|
|00004ca0| 70 61 6e 64 69 6e 67 20 | 74 68 65 6d 2e 20 20 46 |panding |them. F|
|00004cb0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 0a 60 64 69 66 |or examp|le,.`dif|
|00004cc0| 66 20 2d 49 20 27 5e 5b | 30 2d 39 5d 27 27 20 69 |f -I '^[|0-9]'' i|
|00004cd0| 67 6e 6f 72 65 73 20 61 | 6c 6c 20 63 68 61 6e 67 |gnores a|ll chang|
|00004ce0| 65 73 20 74 6f 20 6c 69 | 6e 65 73 20 62 65 67 69 |es to li|nes begi|
|00004cf0| 6e 6e 69 6e 67 20 77 69 | 74 68 20 61 20 64 69 67 |nning wi|th a dig|
|00004d00| 69 74 2e 0a 0a 20 20 20 | 48 6f 77 65 76 65 72 2c |it... |However,|
|00004d10| 20 60 2d 49 27 20 6f 6e | 6c 79 20 69 67 6e 6f 72 | `-I' on|ly ignor|
|00004d20| 65 73 20 74 68 65 20 69 | 6e 73 65 72 74 69 6f 6e |es the i|nsertion|
|00004d30| 20 6f 72 20 64 65 6c 65 | 74 69 6f 6e 20 6f 66 20 | or dele|tion of |
|00004d40| 6c 69 6e 65 73 20 74 68 | 61 74 0a 63 6f 6e 74 61 |lines th|at.conta|
|00004d50| 69 6e 20 74 68 65 20 72 | 65 67 75 6c 61 72 20 65 |in the r|egular e|
|00004d60| 78 70 72 65 73 73 69 6f | 6e 20 69 66 20 65 76 65 |xpressio|n if eve|
|00004d70| 72 79 20 63 68 61 6e 67 | 65 64 20 6c 69 6e 65 20 |ry chang|ed line |
|00004d80| 69 6e 20 74 68 65 20 68 | 75 6e 6b 2d 2d 65 76 65 |in the h|unk--eve|
|00004d90| 72 79 0a 69 6e 73 65 72 | 74 69 6f 6e 20 61 6e 64 |ry.inser|tion and|
|00004da0| 20 65 76 65 72 79 20 64 | 65 6c 65 74 69 6f 6e 2d | every d|eletion-|
|00004db0| 2d 6d 61 74 63 68 65 73 | 20 74 68 65 20 72 65 67 |-matches| the reg|
|00004dc0| 75 6c 61 72 20 65 78 70 | 72 65 73 73 69 6f 6e 2e |ular exp|ression.|
|00004dd0| 20 20 49 6e 20 6f 74 68 | 65 72 0a 77 6f 72 64 73 | In oth|er.words|
|00004de0| 2c 20 66 6f 72 20 65 61 | 63 68 20 6e 6f 6e 69 67 |, for ea|ch nonig|
|00004df0| 6e 6f 72 61 62 6c 65 20 | 63 68 61 6e 67 65 2c 20 |norable |change, |
|00004e00| 60 64 69 66 66 27 20 70 | 72 69 6e 74 73 20 74 68 |`diff' p|rints th|
|00004e10| 65 20 63 6f 6d 70 6c 65 | 74 65 20 73 65 74 20 6f |e comple|te set o|
|00004e20| 66 0a 63 68 61 6e 67 65 | 73 20 69 6e 20 69 74 73 |f.change|s in its|
|00004e30| 20 76 69 63 69 6e 69 74 | 79 2c 20 69 6e 63 6c 75 | vicinit|y, inclu|
|00004e40| 64 69 6e 67 20 74 68 65 | 20 69 67 6e 6f 72 61 62 |ding the| ignorab|
|00004e50| 6c 65 20 6f 6e 65 73 2e | 0a 0a 20 20 20 59 6f 75 |le ones.|.. You|
|00004e60| 20 63 61 6e 20 73 70 65 | 63 69 66 79 20 6d 6f 72 | can spe|cify mor|
|00004e70| 65 20 74 68 61 6e 20 6f | 6e 65 20 72 65 67 75 6c |e than o|ne regul|
|00004e80| 61 72 20 65 78 70 72 65 | 73 73 69 6f 6e 20 66 6f |ar expre|ssion fo|
|00004e90| 72 20 6c 69 6e 65 73 20 | 74 6f 20 69 67 6e 6f 72 |r lines |to ignor|
|00004ea0| 65 0a 62 79 20 75 73 69 | 6e 67 20 6d 6f 72 65 20 |e.by usi|ng more |
|00004eb0| 74 68 61 6e 20 6f 6e 65 | 20 60 2d 49 27 20 6f 70 |than one| `-I' op|
|00004ec0| 74 69 6f 6e 2e 20 20 60 | 64 69 66 66 27 20 74 72 |tion. `|diff' tr|
|00004ed0| 69 65 73 20 74 6f 20 6d | 61 74 63 68 20 65 61 63 |ies to m|atch eac|
|00004ee0| 68 20 6c 69 6e 65 0a 61 | 67 61 69 6e 73 74 20 65 |h line.a|gainst e|
|00004ef0| 61 63 68 20 72 65 67 75 | 6c 61 72 20 65 78 70 72 |ach regu|lar expr|
|00004f00| 65 73 73 69 6f 6e 2c 20 | 73 74 61 72 74 69 6e 67 |ession, |starting|
|00004f10| 20 77 69 74 68 20 74 68 | 65 20 6c 61 73 74 20 6f | with th|e last o|
|00004f20| 6e 65 20 67 69 76 65 6e | 2e 0a 0a 40 45 6e 64 4e |ne given|...@EndN|
|00004f30| 6f 64 65 0a 0a 0a 40 4e | 6f 64 65 20 22 42 72 69 |ode...@N|ode "Bri|
|00004f40| 65 66 22 20 22 42 72 69 | 65 66 22 0a 40 4e 65 78 |ef" "Bri|ef".@Nex|
|00004f50| 74 20 22 42 69 6e 61 72 | 79 22 20 22 42 69 6e 61 |t "Binar|y" "Bina|
|00004f60| 72 79 22 0a 40 50 72 65 | 76 20 22 53 70 65 63 69 |ry".@Pre|v "Speci|
|00004f70| 66 69 65 64 20 46 6f 6c | 64 69 6e 67 22 20 22 53 |fied Fol|ding" "S|
|00004f80| 70 65 63 69 66 69 65 64 | 20 46 6f 6c 64 69 6e 67 |pecified| Folding|
|00004f90| 22 0a 40 54 6f 63 20 22 | 43 6f 6d 70 61 72 69 73 |".@Toc "|Comparis|
|00004fa0| 6f 6e 22 20 22 43 6f 6d | 70 61 72 69 73 6f 6e 22 |on" "Com|parison"|
|00004fb0| 0a 53 75 6d 6d 61 72 69 | 7a 69 6e 67 20 57 68 69 |.Summari|zing Whi|
|00004fc0| 63 68 20 46 69 6c 65 73 | 20 44 69 66 66 65 72 0a |ch Files| Differ.|
|00004fd0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00004fe0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0a 0a |========|======..|
|00004ff0| 20 20 20 57 68 65 6e 20 | 79 6f 75 20 6f 6e 6c 79 | When |you only|
|00005000| 20 77 61 6e 74 20 74 6f | 20 66 69 6e 64 20 6f 75 | want to| find ou|
|00005010| 74 20 77 68 65 74 68 65 | 72 20 66 69 6c 65 73 20 |t whethe|r files |
|00005020| 61 72 65 20 64 69 66 66 | 65 72 65 6e 74 2c 20 61 |are diff|erent, a|
|00005030| 6e 64 20 79 6f 75 0a 64 | 6f 6e 27 74 20 63 61 72 |nd you.d|on't car|
|00005040| 65 20 77 68 61 74 20 74 | 68 65 20 64 69 66 66 65 |e what t|he diffe|
|00005050| 72 65 6e 63 65 73 20 61 | 72 65 2c 20 79 6f 75 20 |rences a|re, you |
|00005060| 63 61 6e 20 75 73 65 20 | 74 68 65 20 73 75 6d 6d |can use |the summ|
|00005070| 61 72 79 20 6f 75 74 70 | 75 74 0a 66 6f 72 6d 61 |ary outp|ut.forma|
|00005080| 74 2e 20 20 49 6e 20 74 | 68 69 73 20 66 6f 72 6d |t. In t|his form|
|00005090| 61 74 2c 20 69 6e 73 74 | 65 61 64 20 6f 66 20 73 |at, inst|ead of s|
|000050a0| 68 6f 77 69 6e 67 20 74 | 68 65 20 64 69 66 66 65 |howing t|he diffe|
|000050b0| 72 65 6e 63 65 73 20 62 | 65 74 77 65 65 6e 20 74 |rences b|etween t|
|000050c0| 68 65 0a 66 69 6c 65 73 | 2c 20 60 64 69 66 66 27 |he.files|, `diff'|
|000050d0| 20 73 69 6d 70 6c 79 20 | 72 65 70 6f 72 74 73 20 | simply |reports |
|000050e0| 77 68 65 74 68 65 72 20 | 66 69 6c 65 73 20 64 69 |whether |files di|
|000050f0| 66 66 65 72 2e 20 20 54 | 68 65 20 60 2d 71 27 20 |ffer. T|he `-q' |
|00005100| 61 6e 64 0a 60 2d 2d 62 | 72 69 65 66 27 20 6f 70 |and.`--b|rief' op|
|00005110| 74 69 6f 6e 73 20 73 65 | 6c 65 63 74 20 74 68 69 |tions se|lect thi|
|00005120| 73 20 6f 75 74 70 75 74 | 20 66 6f 72 6d 61 74 2e |s output| format.|
|00005130| 0a 0a 20 20 20 54 68 69 | 73 20 66 6f 72 6d 61 74 |.. Thi|s format|
|00005140| 20 69 73 20 65 73 70 65 | 63 69 61 6c 6c 79 20 75 | is espe|cially u|
|00005150| 73 65 66 75 6c 20 77 68 | 65 6e 20 63 6f 6d 70 61 |seful wh|en compa|
|00005160| 72 69 6e 67 20 74 68 65 | 20 63 6f 6e 74 65 6e 74 |ring the| content|
|00005170| 73 20 6f 66 20 74 77 6f | 0a 64 69 72 65 63 74 6f |s of two|.directo|
|00005180| 72 69 65 73 2e 20 20 49 | 74 20 69 73 20 61 6c 73 |ries. I|t is als|
|00005190| 6f 20 6d 75 63 68 20 66 | 61 73 74 65 72 20 74 68 |o much f|aster th|
|000051a0| 61 6e 20 64 6f 69 6e 67 | 20 74 68 65 20 6e 6f 72 |an doing| the nor|
|000051b0| 6d 61 6c 20 6c 69 6e 65 | 20 62 79 20 6c 69 6e 65 |mal line| by line|
|000051c0| 0a 63 6f 6d 70 61 72 69 | 73 6f 6e 73 2c 20 62 65 |.compari|sons, be|
|000051d0| 63 61 75 73 65 20 60 64 | 69 66 66 27 20 63 61 6e |cause `d|iff' can|
|000051e0| 20 73 74 6f 70 20 61 6e | 61 6c 79 7a 69 6e 67 20 | stop an|alyzing |
|000051f0| 74 68 65 20 66 69 6c 65 | 73 20 61 73 20 73 6f 6f |the file|s as soo|
|00005200| 6e 20 61 73 20 69 74 0a | 6b 6e 6f 77 73 20 74 68 |n as it.|knows th|
|00005210| 61 74 20 74 68 65 72 65 | 20 61 72 65 20 61 6e 79 |at there| are any|
|00005220| 20 64 69 66 66 65 72 65 | 6e 63 65 73 2e 0a 0a 20 | differe|nces... |
|00005230| 20 20 59 6f 75 20 63 61 | 6e 20 61 6c 73 6f 20 67 | You ca|n also g|
|00005240| 65 74 20 61 20 62 72 69 | 65 66 20 69 6e 64 69 63 |et a bri|ef indic|
|00005250| 61 74 69 6f 6e 20 6f 66 | 20 77 68 65 74 68 65 72 |ation of| whether|
|00005260| 20 74 77 6f 20 66 69 6c | 65 73 20 64 69 66 66 65 | two fil|es diffe|
|00005270| 72 20 62 79 0a 75 73 69 | 6e 67 20 60 63 6d 70 27 |r by.usi|ng `cmp'|
|00005280| 2e 20 20 46 6f 72 20 66 | 69 6c 65 73 20 74 68 61 |. For f|iles tha|
|00005290| 74 20 61 72 65 20 69 64 | 65 6e 74 69 63 61 6c 2c |t are id|entical,|
|000052a0| 20 60 63 6d 70 27 20 70 | 72 6f 64 75 63 65 73 20 | `cmp' p|roduces |
|000052b0| 6e 6f 20 6f 75 74 70 75 | 74 2e 0a 57 68 65 6e 20 |no outpu|t..When |
|000052c0| 74 68 65 20 66 69 6c 65 | 73 20 64 69 66 66 65 72 |the file|s differ|
|000052d0| 2c 20 62 79 20 64 65 66 | 61 75 6c 74 2c 20 60 63 |, by def|ault, `c|
|000052e0| 6d 70 27 20 6f 75 74 70 | 75 74 73 20 74 68 65 20 |mp' outp|uts the |
|000052f0| 62 79 74 65 20 6f 66 66 | 73 65 74 20 61 6e 64 0a |byte off|set and.|
|00005300| 6c 69 6e 65 20 6e 75 6d | 62 65 72 20 77 68 65 72 |line num|ber wher|
|00005310| 65 20 74 68 65 20 66 69 | 72 73 74 20 64 69 66 66 |e the fi|rst diff|
|00005320| 65 72 65 6e 63 65 20 6f | 63 63 75 72 73 2e 20 20 |erence o|ccurs. |
|00005330| 59 6f 75 20 63 61 6e 20 | 75 73 65 20 74 68 65 20 |You can |use the |
|00005340| 60 2d 73 27 0a 6f 70 74 | 69 6f 6e 20 74 6f 20 73 |`-s'.opt|ion to s|
|00005350| 75 70 70 72 65 73 73 20 | 74 68 61 74 20 69 6e 66 |uppress |that inf|
|00005360| 6f 72 6d 61 74 69 6f 6e | 2c 20 73 6f 20 74 68 61 |ormation|, so tha|
|00005370| 74 20 60 63 6d 70 27 20 | 70 72 6f 64 75 63 65 73 |t `cmp' |produces|
|00005380| 20 6e 6f 20 6f 75 74 70 | 75 74 0a 61 6e 64 20 72 | no outp|ut.and r|
|00005390| 65 70 6f 72 74 73 20 77 | 68 65 74 68 65 72 20 74 |eports w|hether t|
|000053a0| 68 65 20 66 69 6c 65 73 | 20 64 69 66 66 65 72 20 |he files| differ |
|000053b0| 75 73 69 6e 67 20 6f 6e | 6c 79 20 69 74 73 20 65 |using on|ly its e|
|000053c0| 78 69 74 20 73 74 61 74 | 75 73 20 0a 28 40 7b 22 |xit stat|us .(@{"|
|000053d0| 49 6e 76 6f 6b 69 6e 67 | 20 63 6d 70 22 20 4c 69 |Invoking| cmp" Li|
|000053e0| 6e 6b 20 22 49 6e 76 6f | 6b 69 6e 67 20 63 6d 70 |nk "Invo|king cmp|
|000053f0| 22 7d 29 2e 0a 0a 20 20 | 20 55 6e 6c 69 6b 65 20 |"})... | Unlike |
|00005400| 60 64 69 66 66 27 2c 20 | 60 63 6d 70 27 20 63 61 |`diff', |`cmp' ca|
|00005410| 6e 6e 6f 74 20 63 6f 6d | 70 61 72 65 20 64 69 72 |nnot com|pare dir|
|00005420| 65 63 74 6f 72 69 65 73 | 3b 20 69 74 20 63 61 6e |ectories|; it can|
|00005430| 20 6f 6e 6c 79 20 63 6f | 6d 70 61 72 65 0a 74 77 | only co|mpare.tw|
|00005440| 6f 20 66 69 6c 65 73 2e | 0a 0a 40 45 6e 64 4e 6f |o files.|..@EndNo|
|00005450| 64 65 0a 0a 0a 40 4e 6f | 64 65 20 22 42 69 6e 61 |de...@No|de "Bina|
|00005460| 72 79 22 20 22 42 69 6e | 61 72 79 22 0a 40 50 72 |ry" "Bin|ary".@Pr|
|00005470| 65 76 20 22 42 72 69 65 | 66 22 20 22 42 72 69 65 |ev "Brie|f" "Brie|
|00005480| 66 22 0a 40 54 6f 63 20 | 22 43 6f 6d 70 61 72 69 |f".@Toc |"Compari|
|00005490| 73 6f 6e 22 20 22 43 6f | 6d 70 61 72 69 73 6f 6e |son" "Co|mparison|
|000054a0| 22 0a 42 69 6e 61 72 79 | 20 46 69 6c 65 73 20 61 |".Binary| Files a|
|000054b0| 6e 64 20 46 6f 72 63 69 | 6e 67 20 54 65 78 74 20 |nd Forci|ng Text |
|000054c0| 43 6f 6d 70 61 72 69 73 | 6f 6e 73 0a 3d 3d 3d 3d |Comparis|ons.====|
|000054d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000054e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000054f0| 3d 3d 3d 3d 3d 0a 0a 20 | 20 20 49 66 20 60 64 69 |=====.. | If `di|
|00005500| 66 66 27 20 74 68 69 6e | 6b 73 20 74 68 61 74 20 |ff' thin|ks that |
|00005510| 65 69 74 68 65 72 20 6f | 66 20 74 68 65 20 74 77 |either o|f the tw|
|00005520| 6f 20 66 69 6c 65 73 20 | 69 74 20 69 73 20 63 6f |o files |it is co|
|00005530| 6d 70 61 72 69 6e 67 20 | 69 73 0a 62 69 6e 61 72 |mparing |is.binar|
|00005540| 79 20 28 61 20 6e 6f 6e | 2d 74 65 78 74 20 66 69 |y (a non|-text fi|
|00005550| 6c 65 29 2c 20 69 74 20 | 6e 6f 72 6d 61 6c 6c 79 |le), it |normally|
|00005560| 20 74 72 65 61 74 73 20 | 74 68 61 74 20 70 61 69 | treats |that pai|
|00005570| 72 20 6f 66 20 66 69 6c | 65 73 20 6d 75 63 68 20 |r of fil|es much |
|00005580| 61 73 0a 69 66 20 74 68 | 65 20 73 75 6d 6d 61 72 |as.if th|e summar|
|00005590| 79 20 6f 75 74 70 75 74 | 20 66 6f 72 6d 61 74 20 |y output| format |
|000055a0| 68 61 64 20 62 65 65 6e | 20 73 65 6c 65 63 74 65 |had been| selecte|
|000055b0| 64 20 28 40 7b 22 42 72 | 69 65 66 22 20 4c 69 6e |d (@{"Br|ief" Lin|
|000055c0| 6b 20 22 42 72 69 65 66 | 22 7d 29 2c 20 61 6e 64 |k "Brief|"}), and|
|000055d0| 0a 72 65 70 6f 72 74 73 | 20 6f 6e 6c 79 20 74 68 |.reports| only th|
|000055e0| 61 74 20 74 68 65 20 62 | 69 6e 61 72 79 20 66 69 |at the b|inary fi|
|000055f0| 6c 65 73 20 61 72 65 20 | 64 69 66 66 65 72 65 6e |les are |differen|
|00005600| 74 2e 20 20 54 68 69 73 | 20 69 73 20 62 65 63 61 |t. This| is beca|
|00005610| 75 73 65 20 6c 69 6e 65 | 0a 62 79 20 6c 69 6e 65 |use line|.by line|
|00005620| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 73 20 61 72 65 | compari|sons are|
|00005630| 20 75 73 75 61 6c 6c 79 | 20 6e 6f 74 20 6d 65 61 | usually| not mea|
|00005640| 6e 69 6e 67 66 75 6c 20 | 66 6f 72 20 62 69 6e 61 |ningful |for bina|
|00005650| 72 79 20 66 69 6c 65 73 | 2e 0a 0a 20 20 20 60 64 |ry files|... `d|
|00005660| 69 66 66 27 20 64 65 74 | 65 72 6d 69 6e 65 73 20 |iff' det|ermines |
|00005670| 77 68 65 74 68 65 72 20 | 61 20 66 69 6c 65 20 69 |whether |a file i|
|00005680| 73 20 74 65 78 74 20 6f | 72 20 62 69 6e 61 72 79 |s text o|r binary|
|00005690| 20 62 79 20 63 68 65 63 | 6b 69 6e 67 20 74 68 65 | by chec|king the|
|000056a0| 0a 66 69 72 73 74 20 66 | 65 77 20 62 79 74 65 73 |.first f|ew bytes|
|000056b0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 3b 20 74 68 | in the |file; th|
|000056c0| 65 20 65 78 61 63 74 20 | 6e 75 6d 62 65 72 20 6f |e exact |number o|
|000056d0| 66 20 62 79 74 65 73 20 | 69 73 20 73 79 73 74 65 |f bytes |is syste|
|000056e0| 6d 0a 64 65 70 65 6e 64 | 65 6e 74 2c 20 62 75 74 |m.depend|ent, but|
|000056f0| 20 69 74 20 69 73 20 74 | 79 70 69 63 61 6c 6c 79 | it is t|ypically|
|00005700| 20 73 65 76 65 72 61 6c | 20 74 68 6f 75 73 61 6e | several| thousan|
|00005710| 64 2e 20 20 49 66 20 65 | 76 65 72 79 20 63 68 61 |d. If e|very cha|
|00005720| 72 61 63 74 65 72 20 69 | 6e 0a 74 68 61 74 20 70 |racter i|n.that p|
|00005730| 61 72 74 20 6f 66 20 74 | 68 65 20 66 69 6c 65 20 |art of t|he file |
|00005740| 69 73 20 6e 6f 6e 2d 6e | 75 6c 6c 2c 20 60 64 69 |is non-n|ull, `di|
|00005750| 66 66 27 20 63 6f 6e 73 | 69 64 65 72 73 20 74 68 |ff' cons|iders th|
|00005760| 65 20 66 69 6c 65 20 74 | 6f 20 62 65 0a 74 65 78 |e file t|o be.tex|
|00005770| 74 3b 20 6f 74 68 65 72 | 77 69 73 65 20 69 74 20 |t; other|wise it |
|00005780| 63 6f 6e 73 69 64 65 72 | 73 20 74 68 65 20 66 69 |consider|s the fi|
|00005790| 6c 65 20 74 6f 20 62 65 | 20 62 69 6e 61 72 79 2e |le to be| binary.|
|000057a0| 0a 0a 20 20 20 53 6f 6d | 65 74 69 6d 65 73 20 79 |.. Som|etimes y|
|000057b0| 6f 75 20 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f |ou might| want to|
|000057c0| 20 66 6f 72 63 65 20 60 | 64 69 66 66 27 20 74 6f | force `|diff' to|
|000057d0| 20 63 6f 6e 73 69 64 65 | 72 20 66 69 6c 65 73 20 | conside|r files |
|000057e0| 74 6f 20 62 65 0a 74 65 | 78 74 2e 20 20 46 6f 72 |to be.te|xt. For|
|000057f0| 20 65 78 61 6d 70 6c 65 | 2c 20 79 6f 75 20 6d 69 | example|, you mi|
|00005800| 67 68 74 20 62 65 20 63 | 6f 6d 70 61 72 69 6e 67 |ght be c|omparing|
|00005810| 20 74 65 78 74 20 66 69 | 6c 65 73 20 74 68 61 74 | text fi|les that|
|00005820| 20 63 6f 6e 74 61 69 6e | 20 6e 75 6c 6c 0a 63 68 | contain| null.ch|
|00005830| 61 72 61 63 74 65 72 73 | 3b 20 60 64 69 66 66 27 |aracters|; `diff'|
|00005840| 20 77 6f 75 6c 64 20 65 | 72 72 6f 6e 65 6f 75 73 | would e|rroneous|
|00005850| 6c 79 20 64 65 63 69 64 | 65 20 74 68 61 74 20 74 |ly decid|e that t|
|00005860| 68 6f 73 65 20 61 72 65 | 20 6e 6f 6e 2d 74 65 78 |hose are| non-tex|
|00005870| 74 0a 66 69 6c 65 73 2e | 20 20 4f 72 20 79 6f 75 |t.files.| Or you|
|00005880| 20 6d 69 67 68 74 20 62 | 65 20 63 6f 6d 70 61 72 | might b|e compar|
|00005890| 69 6e 67 20 64 6f 63 75 | 6d 65 6e 74 73 20 74 68 |ing docu|ments th|
|000058a0| 61 74 20 61 72 65 20 69 | 6e 20 61 20 66 6f 72 6d |at are i|n a form|
|000058b0| 61 74 20 75 73 65 64 0a | 62 79 20 61 20 77 6f 72 |at used.|by a wor|
|000058c0| 64 20 70 72 6f 63 65 73 | 73 69 6e 67 20 73 79 73 |d proces|sing sys|
|000058d0| 74 65 6d 20 74 68 61 74 | 20 75 73 65 73 20 6e 75 |tem that| uses nu|
|000058e0| 6c 6c 20 63 68 61 72 61 | 63 74 65 72 73 20 74 6f |ll chara|cters to|
|000058f0| 20 69 6e 64 69 63 61 74 | 65 0a 73 70 65 63 69 61 | indicat|e.specia|
|00005900| 6c 20 66 6f 72 6d 61 74 | 74 69 6e 67 2e 20 20 59 |l format|ting. Y|
|00005910| 6f 75 20 63 61 6e 20 66 | 6f 72 63 65 20 60 64 69 |ou can f|orce `di|
|00005920| 66 66 27 20 74 6f 20 63 | 6f 6e 73 69 64 65 72 20 |ff' to c|onsider |
|00005930| 61 6c 6c 20 66 69 6c 65 | 73 20 74 6f 20 62 65 0a |all file|s to be.|
|00005940| 74 65 78 74 20 66 69 6c | 65 73 2c 20 61 6e 64 20 |text fil|es, and |
|00005950| 63 6f 6d 70 61 72 65 20 | 74 68 65 6d 20 6c 69 6e |compare |them lin|
|00005960| 65 20 62 79 20 6c 69 6e | 65 2c 20 62 79 20 75 73 |e by lin|e, by us|
|00005970| 69 6e 67 20 74 68 65 20 | 60 2d 61 27 20 6f 72 0a |ing the |`-a' or.|
|00005980| 60 2d 2d 74 65 78 74 27 | 20 6f 70 74 69 6f 6e 2e |`--text'| option.|
|00005990| 20 20 49 66 20 74 68 65 | 20 66 69 6c 65 73 20 79 | If the| files y|
|000059a0| 6f 75 20 63 6f 6d 70 61 | 72 65 20 75 73 69 6e 67 |ou compa|re using|
|000059b0| 20 74 68 69 73 20 6f 70 | 74 69 6f 6e 20 64 6f 20 | this op|tion do |
|000059c0| 6e 6f 74 20 69 6e 0a 66 | 61 63 74 20 63 6f 6e 74 |not in.f|act cont|
|000059d0| 61 69 6e 20 74 65 78 74 | 2c 20 74 68 65 79 20 77 |ain text|, they w|
|000059e0| 69 6c 6c 20 70 72 6f 62 | 61 62 6c 79 20 63 6f 6e |ill prob|ably con|
|000059f0| 74 61 69 6e 20 66 65 77 | 20 6e 65 77 6c 69 6e 65 |tain few| newline|
|00005a00| 20 63 68 61 72 61 63 74 | 65 72 73 2c 0a 61 6e 64 | charact|ers,.and|
|00005a10| 20 74 68 65 20 60 64 69 | 66 66 27 20 6f 75 74 70 | the `di|ff' outp|
|00005a20| 75 74 20 77 69 6c 6c 20 | 63 6f 6e 73 69 73 74 20 |ut will |consist |
|00005a30| 6f 66 20 68 75 6e 6b 73 | 20 73 68 6f 77 69 6e 67 |of hunks| showing|
|00005a40| 20 64 69 66 66 65 72 65 | 6e 63 65 73 20 62 65 74 | differe|nces bet|
|00005a50| 77 65 65 6e 0a 6c 6f 6e | 67 20 6c 69 6e 65 73 20 |ween.lon|g lines |
|00005a60| 6f 66 20 77 68 61 74 65 | 76 65 72 20 63 68 61 72 |of whate|ver char|
|00005a70| 61 63 74 65 72 73 20 74 | 68 65 20 66 69 6c 65 73 |acters t|he files|
|00005a80| 20 63 6f 6e 74 61 69 6e | 2e 0a 0a 20 20 20 59 6f | contain|... Yo|
|00005a90| 75 20 63 61 6e 20 61 6c | 73 6f 20 66 6f 72 63 65 |u can al|so force|
|00005aa0| 20 60 64 69 66 66 27 20 | 74 6f 20 63 6f 6e 73 69 | `diff' |to consi|
|00005ab0| 64 65 72 20 61 6c 6c 20 | 66 69 6c 65 73 20 74 6f |der all |files to|
|00005ac0| 20 62 65 20 62 69 6e 61 | 72 79 20 66 69 6c 65 73 | be bina|ry files|
|00005ad0| 2c 0a 61 6e 64 20 72 65 | 70 6f 72 74 20 6f 6e 6c |,.and re|port onl|
|00005ae0| 79 20 77 68 65 74 68 65 | 72 20 74 68 65 79 20 64 |y whethe|r they d|
|00005af0| 69 66 66 65 72 20 28 62 | 75 74 20 6e 6f 74 20 68 |iffer (b|ut not h|
|00005b00| 6f 77 29 2e 20 20 55 73 | 65 20 74 68 65 20 60 2d |ow). Us|e the `-|
|00005b10| 2d 62 72 69 65 66 27 0a | 6f 70 74 69 6f 6e 20 66 |-brief'.|option f|
|00005b20| 6f 72 20 74 68 69 73 2e | 0a 0a 20 20 20 49 66 20 |or this.|.. If |
|00005b30| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 63 6f 6d 70 |you want| to comp|
|00005b40| 61 72 65 20 74 77 6f 20 | 66 69 6c 65 73 20 62 79 |are two |files by|
|00005b50| 74 65 20 62 79 20 62 79 | 74 65 2c 20 79 6f 75 20 |te by by|te, you |
|00005b60| 63 61 6e 20 75 73 65 20 | 74 68 65 20 60 63 6d 70 |can use |the `cmp|
|00005b70| 27 0a 70 72 6f 67 72 61 | 6d 20 77 69 74 68 20 74 |'.progra|m with t|
|00005b80| 68 65 20 60 2d 6c 27 20 | 6f 70 74 69 6f 6e 20 74 |he `-l' |option t|
|00005b90| 6f 20 73 68 6f 77 20 74 | 68 65 20 76 61 6c 75 65 |o show t|he value|
|00005ba0| 73 20 6f 66 20 65 61 63 | 68 20 64 69 66 66 65 72 |s of eac|h differ|
|00005bb0| 69 6e 67 20 62 79 74 65 | 0a 69 6e 20 74 68 65 20 |ing byte|.in the |
|00005bc0| 74 77 6f 20 66 69 6c 65 | 73 2e 20 20 57 69 74 68 |two file|s. With|
|00005bd0| 20 47 4e 55 20 60 63 6d | 70 27 2c 20 79 6f 75 20 | GNU `cm|p', you |
|00005be0| 63 61 6e 20 61 6c 73 6f | 20 75 73 65 20 74 68 65 |can also| use the|
|00005bf0| 20 60 2d 63 27 20 6f 70 | 74 69 6f 6e 20 74 6f 0a | `-c' op|tion to.|
|00005c00| 73 68 6f 77 20 74 68 65 | 20 41 53 43 49 49 20 72 |show the| ASCII r|
|00005c10| 65 70 72 65 73 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |epresent|ation of|
|00005c20| 20 74 68 6f 73 65 20 62 | 79 74 65 73 2e 20 20 40 | those b|ytes. @|
|00005c30| 7b 22 49 6e 76 6f 6b 69 | 6e 67 20 63 6d 70 22 20 |{"Invoki|ng cmp" |
|00005c40| 4c 69 6e 6b 20 22 49 6e | 76 6f 6b 69 6e 67 20 63 |Link "In|voking c|
|00005c50| 6d 70 22 7d 20 2c 0a 66 | 6f 72 20 6d 6f 72 65 20 |mp"} ,.f|or more |
|00005c60| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 2e 0a 0a 20 20 |informat|ion... |
|00005c70| 20 49 66 20 60 64 69 66 | 66 33 27 20 74 68 69 6e | If `dif|f3' thin|
|00005c80| 6b 73 20 74 68 61 74 20 | 61 6e 79 20 6f 66 20 74 |ks that |any of t|
|00005c90| 68 65 20 66 69 6c 65 73 | 20 69 74 20 69 73 20 63 |he files| it is c|
|00005ca0| 6f 6d 70 61 72 69 6e 67 | 20 69 73 20 62 69 6e 61 |omparing| is bina|
|00005cb0| 72 79 20 28 61 0a 6e 6f | 6e 2d 74 65 78 74 20 66 |ry (a.no|n-text f|
|00005cc0| 69 6c 65 29 2c 20 69 74 | 20 6e 6f 72 6d 61 6c 6c |ile), it| normall|
|00005cd0| 79 20 72 65 70 6f 72 74 | 73 20 61 6e 20 65 72 72 |y report|s an err|
|00005ce0| 6f 72 2c 20 62 65 63 61 | 75 73 65 20 73 75 63 68 |or, beca|use such|
|00005cf0| 20 63 6f 6d 70 61 72 69 | 73 6f 6e 73 0a 61 72 65 | compari|sons.are|
|00005d00| 20 75 73 75 61 6c 6c 79 | 20 6e 6f 74 20 75 73 65 | usually| not use|
|00005d10| 66 75 6c 2e 20 20 60 64 | 69 66 66 33 27 20 75 73 |ful. `d|iff3' us|
|00005d20| 65 73 20 74 68 65 20 73 | 61 6d 65 20 74 65 73 74 |es the s|ame test|
|00005d30| 20 61 73 20 60 64 69 66 | 66 27 20 74 6f 20 64 65 | as `dif|f' to de|
|00005d40| 63 69 64 65 0a 77 68 65 | 74 68 65 72 20 61 20 66 |cide.whe|ther a f|
|00005d50| 69 6c 65 20 69 73 20 62 | 69 6e 61 72 79 2e 20 20 |ile is b|inary. |
|00005d60| 41 73 20 77 69 74 68 20 | 60 64 69 66 66 27 2c 20 |As with |`diff', |
|00005d70| 69 66 20 74 68 65 20 69 | 6e 70 75 74 20 66 69 6c |if the i|nput fil|
|00005d80| 65 73 20 63 6f 6e 74 61 | 69 6e 20 61 0a 66 65 77 |es conta|in a.few|
|00005d90| 20 6e 6f 6e 2d 74 65 78 | 74 20 63 68 61 72 61 63 | non-tex|t charac|
|00005da0| 74 65 72 73 20 62 75 74 | 20 6f 74 68 65 72 77 69 |ters but| otherwi|
|00005db0| 73 65 20 61 72 65 20 6c | 69 6b 65 20 74 65 78 74 |se are l|ike text|
|00005dc0| 20 66 69 6c 65 73 2c 20 | 79 6f 75 20 63 61 6e 0a | files, |you can.|
|00005dd0| 66 6f 72 63 65 20 60 64 | 69 66 66 33 27 20 74 6f |force `d|iff3' to|
|00005de0| 20 63 6f 6e 73 69 64 65 | 72 20 61 6c 6c 20 66 69 | conside|r all fi|
|00005df0| 6c 65 73 20 74 6f 20 62 | 65 20 74 65 78 74 20 66 |les to b|e text f|
|00005e00| 69 6c 65 73 20 61 6e 64 | 20 63 6f 6d 70 61 72 65 |iles and| compare|
|00005e10| 20 74 68 65 6d 0a 6c 69 | 6e 65 20 62 79 20 6c 69 | them.li|ne by li|
|00005e20| 6e 65 20 62 79 20 75 73 | 69 6e 67 20 74 68 65 20 |ne by us|ing the |
|00005e30| 60 2d 61 27 20 6f 72 20 | 60 2d 2d 74 65 78 74 27 |`-a' or |`--text'|
|00005e40| 20 6f 70 74 69 6f 6e 73 | 2e 0a 0a 40 45 6e 64 4e | options|...@EndN|
|00005e50| 6f 64 65 0a 0a 0a 40 4e | 6f 64 65 20 22 4f 75 74 |ode...@N|ode "Out|
|00005e60| 70 75 74 20 46 6f 72 6d | 61 74 73 22 20 22 4f 75 |put Form|ats" "Ou|
|00005e70| 74 70 75 74 20 46 6f 72 | 6d 61 74 73 22 0a 40 4e |tput For|mats".@N|
|00005e80| 65 78 74 20 22 43 6f 6d | 70 61 72 69 6e 67 20 44 |ext "Com|paring D|
|00005e90| 69 72 65 63 74 6f 72 69 | 65 73 22 20 22 43 6f 6d |irectori|es" "Com|
|00005ea0| 70 61 72 69 6e 67 20 44 | 69 72 65 63 74 6f 72 69 |paring D|irectori|
|00005eb0| 65 73 22 0a 40 50 72 65 | 76 20 22 43 6f 6d 70 61 |es".@Pre|v "Compa|
|00005ec0| 72 69 73 6f 6e 22 20 22 | 43 6f 6d 70 61 72 69 73 |rison" "|Comparis|
|00005ed0| 6f 6e 22 0a 40 54 6f 63 | 20 22 54 6f 70 22 20 22 |on".@Toc| "Top" "|
|00005ee0| 54 6f 70 22 0a 60 64 69 | 66 66 27 20 4f 75 74 70 |Top".`di|ff' Outp|
|00005ef0| 75 74 20 46 6f 72 6d 61 | 74 73 0a 2a 2a 2a 2a 2a |ut Forma|ts.*****|
|00005f00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005f10| 0a 0a 20 20 20 60 64 69 | 66 66 27 20 68 61 73 20 |.. `di|ff' has |
|00005f20| 73 65 76 65 72 61 6c 20 | 6d 75 74 75 61 6c 6c 79 |several |mutually|
|00005f30| 20 65 78 63 6c 75 73 69 | 76 65 20 6f 70 74 69 6f | exclusi|ve optio|
|00005f40| 6e 73 20 66 6f 72 20 6f | 75 74 70 75 74 20 66 6f |ns for o|utput fo|
|00005f50| 72 6d 61 74 2e 0a 54 68 | 65 20 66 6f 6c 6c 6f 77 |rmat..Th|e follow|
|00005f60| 69 6e 67 20 73 65 63 74 | 69 6f 6e 73 20 64 65 73 |ing sect|ions des|
|00005f70| 63 72 69 62 65 20 65 61 | 63 68 20 66 6f 72 6d 61 |cribe ea|ch forma|
|00005f80| 74 2c 20 69 6c 6c 75 73 | 74 72 61 74 69 6e 67 20 |t, illus|trating |
|00005f90| 68 6f 77 20 60 64 69 66 | 66 27 0a 72 65 70 6f 72 |how `dif|f'.repor|
|00005fa0| 74 73 20 74 68 65 20 64 | 69 66 66 65 72 65 6e 63 |ts the d|ifferenc|
|00005fb0| 65 73 20 62 65 74 77 65 | 65 6e 20 74 77 6f 20 73 |es betwe|en two s|
|00005fc0| 61 6d 70 6c 65 20 69 6e | 70 75 74 20 66 69 6c 65 |ample in|put file|
|00005fd0| 73 2e 0a 0a 2a 20 4d 65 | 6e 75 3a 0a 0a 2a 20 40 |s...* Me|nu:..* @|
|00005fe0| 7b 22 53 61 6d 70 6c 65 | 20 64 69 66 66 20 49 6e |{"Sample| diff In|
|00005ff0| 70 75 74 22 20 4c 69 6e | 6b 20 22 53 61 6d 70 6c |put" Lin|k "Sampl|
|00006000| 65 20 64 69 66 66 20 49 | 6e 70 75 74 22 7d 20 09 |e diff I|nput"} .|
|00006010| 53 61 6d 70 6c 65 20 60 | 64 69 66 66 27 20 69 6e |Sample `|diff' in|
|00006020| 70 75 74 20 66 69 6c 65 | 73 20 66 6f 72 20 65 78 |put file|s for ex|
|00006030| 61 6d 70 6c 65 73 2e 0a | 2a 20 40 7b 22 4e 6f 72 |amples..|* @{"Nor|
|00006040| 6d 61 6c 22 20 4c 69 6e | 6b 20 22 4e 6f 72 6d 61 |mal" Lin|k "Norma|
|00006050| 6c 22 7d 20 09 09 53 68 | 6f 77 69 6e 67 20 64 69 |l"} ..Sh|owing di|
|00006060| 66 66 65 72 65 6e 63 65 | 73 20 77 69 74 68 6f 75 |fference|s withou|
|00006070| 74 20 73 75 72 72 6f 75 | 6e 64 69 6e 67 20 74 65 |t surrou|nding te|
|00006080| 78 74 2e 0a 2a 20 40 7b | 22 43 6f 6e 74 65 78 74 |xt..* @{|"Context|
|00006090| 22 20 4c 69 6e 6b 20 22 | 43 6f 6e 74 65 78 74 22 |" Link "|Context"|
|000060a0| 7d 20 09 09 53 68 6f 77 | 69 6e 67 20 64 69 66 66 |} ..Show|ing diff|
|000060b0| 65 72 65 6e 63 65 73 20 | 77 69 74 68 20 74 68 65 |erences |with the|
|000060c0| 20 73 75 72 72 6f 75 6e | 64 69 6e 67 20 74 65 78 | surroun|ding tex|
|000060d0| 74 2e 0a 2a 20 40 7b 22 | 53 69 64 65 20 62 79 20 |t..* @{"|Side by |
|000060e0| 53 69 64 65 22 20 4c 69 | 6e 6b 20 22 53 69 64 65 |Side" Li|nk "Side|
|000060f0| 20 62 79 20 53 69 64 65 | 22 7d 20 20 20 20 20 20 | by Side|"} |
|00006100| 20 20 20 53 68 6f 77 69 | 6e 67 20 64 69 66 66 65 | Showi|ng diffe|
|00006110| 72 65 6e 63 65 73 20 69 | 6e 20 74 77 6f 20 63 6f |rences i|n two co|
|00006120| 6c 75 6d 6e 73 2e 0a 2a | 20 40 7b 22 53 63 72 69 |lumns..*| @{"Scri|
|00006130| 70 74 73 22 20 4c 69 6e | 6b 20 22 53 63 72 69 70 |pts" Lin|k "Scrip|
|00006140| 74 73 22 7d 20 09 09 47 | 65 6e 65 72 61 74 69 6e |ts"} ..G|eneratin|
|00006150| 67 20 73 63 72 69 70 74 | 73 20 66 6f 72 20 6f 74 |g script|s for ot|
|00006160| 68 65 72 20 70 72 6f 67 | 72 61 6d 73 2e 0a 2a 20 |her prog|rams..* |
|00006170| 40 7b 22 49 66 2d 74 68 | 65 6e 2d 65 6c 73 65 22 |@{"If-th|en-else"|
|00006180| 20 4c 69 6e 6b 20 22 49 | 66 2d 74 68 65 6e 2d 65 | Link "I|f-then-e|
|00006190| 6c 73 65 22 7d 20 09 4d | 65 72 67 69 6e 67 20 66 |lse"} .M|erging f|
|000061a0| 69 6c 65 73 20 77 69 74 | 68 20 69 66 2d 74 68 65 |iles wit|h if-the|
|000061b0| 6e 2d 65 6c 73 65 2e 0a | 0a 40 45 6e 64 4e 6f 64 |n-else..|.@EndNod|
|000061c0| 65 0a 0a 0a 40 4e 6f 64 | 65 20 22 53 61 6d 70 6c |e...@Nod|e "Sampl|
|000061d0| 65 20 64 69 66 66 20 49 | 6e 70 75 74 22 20 22 53 |e diff I|nput" "S|
|000061e0| 61 6d 70 6c 65 20 64 69 | 66 66 20 49 6e 70 75 74 |ample di|ff Input|
|000061f0| 22 0a 40 4e 65 78 74 20 | 22 4e 6f 72 6d 61 6c 22 |".@Next |"Normal"|
|00006200| 20 22 4e 6f 72 6d 61 6c | 22 0a 40 54 6f 63 20 22 | "Normal|".@Toc "|
|00006210| 4f 75 74 70 75 74 20 46 | 6f 72 6d 61 74 73 22 20 |Output F|ormats" |
|00006220| 22 4f 75 74 70 75 74 20 | 46 6f 72 6d 61 74 73 22 |"Output |Formats"|
|00006230| 0a 54 77 6f 20 53 61 6d | 70 6c 65 20 49 6e 70 75 |.Two Sam|ple Inpu|
|00006240| 74 20 46 69 6c 65 73 0a | 3d 3d 3d 3d 3d 3d 3d 3d |t Files.|========|
|00006250| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0a 0a |========|======..|
|00006260| 20 20 20 48 65 72 65 20 | 61 72 65 20 74 77 6f 20 | Here |are two |
|00006270| 73 61 6d 70 6c 65 20 66 | 69 6c 65 73 20 74 68 61 |sample f|iles tha|
|00006280| 74 20 77 65 20 77 69 6c | 6c 20 75 73 65 20 69 6e |t we wil|l use in|
|00006290| 20 6e 75 6d 65 72 6f 75 | 73 20 65 78 61 6d 70 6c | numerou|s exampl|
|000062a0| 65 73 20 74 6f 0a 69 6c | 6c 75 73 74 72 61 74 65 |es to.il|lustrate|
|000062b0| 20 74 68 65 20 6f 75 74 | 70 75 74 20 6f 66 20 60 | the out|put of `|
|000062c0| 64 69 66 66 27 20 61 6e | 64 20 68 6f 77 20 76 61 |diff' an|d how va|
|000062d0| 72 69 6f 75 73 20 6f 70 | 74 69 6f 6e 73 20 63 61 |rious op|tions ca|
|000062e0| 6e 20 63 68 61 6e 67 65 | 20 69 74 2e 0a 0a 20 20 |n change| it... |
|000062f0| 20 54 68 69 73 20 69 73 | 20 74 68 65 20 66 69 6c | This is| the fil|
|00006300| 65 20 60 6c 61 6f 27 3a | 0a 0a 20 20 20 20 20 54 |e `lao':|.. T|
|00006310| 68 65 20 57 61 79 20 74 | 68 61 74 20 63 61 6e 20 |he Way t|hat can |
|00006320| 62 65 20 74 6f 6c 64 20 | 6f 66 20 69 73 20 6e 6f |be told |of is no|
|00006330| 74 20 74 68 65 20 65 74 | 65 72 6e 61 6c 20 57 61 |t the et|ernal Wa|
|00006340| 79 3b 0a 20 20 20 20 20 | 54 68 65 20 6e 61 6d 65 |y;. |The name|
|00006350| 20 74 68 61 74 20 63 61 | 6e 20 62 65 20 6e 61 6d | that ca|n be nam|
|00006360| 65 64 20 69 73 20 6e 6f | 74 20 74 68 65 20 65 74 |ed is no|t the et|
|00006370| 65 72 6e 61 6c 20 6e 61 | 6d 65 2e 0a 20 20 20 20 |ernal na|me.. |
|00006380| 20 54 68 65 20 4e 61 6d | 65 6c 65 73 73 20 69 73 | The Nam|eless is|
|00006390| 20 74 68 65 20 6f 72 69 | 67 69 6e 20 6f 66 20 48 | the ori|gin of H|
|000063a0| 65 61 76 65 6e 20 61 6e | 64 20 45 61 72 74 68 3b |eaven an|d Earth;|
|000063b0| 0a 20 20 20 20 20 54 68 | 65 20 4e 61 6d 65 64 20 |. Th|e Named |
|000063c0| 69 73 20 74 68 65 20 6d | 6f 74 68 65 72 20 6f 66 |is the m|other of|
|000063d0| 20 61 6c 6c 20 74 68 69 | 6e 67 73 2e 0a 20 20 20 | all thi|ngs.. |
|000063e0| 20 20 54 68 65 72 65 66 | 6f 72 65 20 6c 65 74 20 | Theref|ore let |
|000063f0| 74 68 65 72 65 20 61 6c | 77 61 79 73 20 62 65 20 |there al|ways be |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.