File tree Expand file tree Collapse file tree 1 file changed +68
-0
lines changed
Expand file tree Collapse file tree 1 file changed +68
-0
lines changed Original file line number Diff line number Diff line change 22
33Port of the [ diff.js] ( http://hg.opensource.lshift.net/synchrotron/file/default/ )
44library.
5+
6+ ### Example using bin/diff.dart
7+
8+ ```
9+ –(~/dart/diff)–($ dart bin/diff.dart /tmp/a.txt /tmp/o.txt /tmp/b.txt
10+ diff3_dig: /tmp/a.txt, /tmp/o.txt, /tmp/b.txt
11+ AA
12+ a
13+ <<<<<<<<<
14+ b
15+ =========
16+ d
17+ >>>>>>>>>
18+ c
19+ ZZ
20+ <<<<<<<<<
21+ new
22+ 00
23+ a
24+ a
25+ =========
26+ 11
27+ >>>>>>>>>
28+ M
29+ z
30+ z
31+ 99
32+ ```
33+
34+ Where the following input files are
35+
36+ ```
37+ –(~/dart/diff)–($ cat /tmp/a.txt
38+ AA
39+ a
40+ b
41+ c
42+ ZZ
43+ new
44+ 00
45+ a
46+ a
47+ M
48+ 99
49+ ```
50+
51+ ```
52+ –(~/dart/diff)–($ cat /tmp/o.txt
53+ AA
54+ ZZ
55+ 00
56+ M
57+ 99
58+ ```
59+
60+ ```
61+ –(~/dart/diff)–($ cat /tmp/b.txt
62+ AA
63+ a
64+ d
65+ c
66+ ZZ
67+ 11
68+ M
69+ z
70+ z
71+ 99
72+ ```
You can’t perform that action at this time.
0 commit comments