COOPY » Guide
version 0.6.5
|
In this example, we compare two tables as follows:
ssdiff named_numbers.csv named_numbers_flip_column.csv ssdiff --format hilite --output diff.xls named_numbers.csv named_numbers_flip_column.csv
The two tables are:
The result of comparing the tables are:
NAME | DIGIT |
one | 1 |
two | 2 |
three | 3 |
four | 4 |
five | 5 |
DIGIT | NAME |
1 | one |
2 | two |
3 | three |
4 | four |
5 | five |
# tdiff version 0.3 # --- /home/paulfitz/cvs/coopy/tests/named_numbers.csv # +++ /home/paulfitz/cvs/coopy/tests/named_numbers_flip_column.csv @@ |NAME|DIGIT| @: DIGIT |DIGIT|NAME|
! | < | |
@ | DIGIT | NAME |
1 | one | |
2 | two | |
... | ... | ... |