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

NAMEDIGIT
one1
two2
three3
four4
five5
six6

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_add_row.csv
* |NAME=five|
+ |NAME:->six|DIGIT:->6|
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines