COOPY » Guide  version 0.6.5
move column example for ssdiff
Examples for ssdiff

command

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:

named_numbers.csv

NAMEDIGIT
one1
two2
three3
four4
five5

named_numbers_flip_column.csv

DIGITNAME
1one
2two
3three
4four
5five

tdiff output

# 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|

highlighter output

! <
@ DIGIT NAME
1 one
2 two
... ... ...
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines