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

command

In this example, we apply a patch as follows:

sspatch named_numbers.csv patch.tdiff

The output, input, and patch are:

output

DIGITNAME
1one
2two
3three
4four
5five

named_numbers.csv

NAMEDIGIT
one1
two2
three3
four4
five5

patch.tdiff

# 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|
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines