COOPY » Guide
version 0.6.5
|
In this example, we apply a patch as follows:
sspatch named_numbers.csv patch.tdiff
The output, input, and patch are:
NAME | DIGIT | FRENCH | UNARY |
one | 1 | un | . |
two | 2 | deux | .. |
three | 3 | trois | ... |
four | 4 | quatre | .... |
five | 5 | cinq | ..... |
NAME | DIGIT |
one | 1 |
two | 2 |
three | 3 |
four | 4 |
five | 5 |
# 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|*->.....|