COOPY » Guide
version 0.6.5
|
In this example, we compare two tables as follows:
ssdiff broken_bridges.csv bridges.csv ssdiff --format hilite --output diff.xls broken_bridges.csv bridges.csv
The two tables are:
The result of comparing the tables are:
bridge | designer | length |
Brooklyn | J. A. Roebling | 1595 |
Williamsburg | D. Duck | 1600 |
Queensborough | Palmer & Hornbostel | 1182 |
Triborough | O. H. Ammann | 1380,383 |
Bronx Whitestone | O. H. Ammann | 2300 |
Throgs Neck | O. H. Ammann | 1800 |
George Washington | O. H. Ammann | 3500 |
Spamspan | S. Spamington | 10000 |
bridge | designer | length |
Brooklyn | J. A. Roebling | 1595 |
Manhattan | G. Lindenthal | 1470 |
Williamsburg | L. L. Buck | 1600 |
Queensborough | Palmer & Hornbostel | 1182 |
Triborough | O. H. Ammann | 1380,383 |
Bronx Whitestone | O. H. Ammann | 2300 |
Throgs Neck | O. H. Ammann | 1800 |
George Washington | O. H. Ammann | 3500 |
# tdiff version 0.3 # --- /home/paulfitz/cvs/coopy/tests/broken_bridges.csv # +++ /home/paulfitz/cvs/coopy/tests/bridges.csv * |bridge=Brooklyn| + |bridge:->Manhattan|designer:->G. Lindenthal|length:->1470| = |bridge=Williamsburg|designer=D. Duck->L. L. Buck| - |bridge=Spamspan|
@ | bridge | designer | length | |
Brooklyn | J. A. Roebling | 1595 | ||
+++ | Manhattan | G. Lindenthal | 1470 | |
-> | Williamsburg | D. Duck->L. L. Buck | 1600 | |
Queensborough | Palmer & Hornbostel | 1182 | ||
Triborough | O. H. Ammann | 1380,383 | ||
... | ... | ... | ... | |
Throgs Neck | O. H. Ammann | 1800 | ||
George Washington | O. H. Ammann | 3500 | ||
--- | Spamspan | S. Spamington | 10000 |