COOPY » Guide  version 0.6.5
insert 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

NAMEDIGITFRENCHUNARY
one1un.
two2deux..
three3trois...
four4quatre....
five5cinq.....

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_wide.csv
@@ |NAME|DIGIT|
@+ FRENCH |NAME|DIGIT|FRENCH|
@+ UNARY |NAME|DIGIT|FRENCH|UNARY|
@ |NAME=|FRENCH=|UNARY=|
= |NAME|*->FRENCH|*->UNARY|
= |one|*->un|*->.|
= |two|*->deux|*->..|
= |three|*->trois|*->...|
= |four|*->quatre|*->....|
= |five|*->cinq|*->.....|
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines