I need help on : how to compare two different fields on two differnt lines ,for example in the file below,
. . . . . . . . . . . . 1 . 1 1 1 . . . . . . . . . . . .
. . . . . . . . . . . 1 1 . 1 1 . 1 . . . . . . . . . . .
. . . . . . . . 1 1 . 1 1 . 1 1 . 1 1 1 . . . . . . . . .
2 7 9 9 2 3 2 2 2
2 9 9 9 1 1 1 1 2
1 1 9 2 1 1 1 1 1 1 3 2
I need to compare field 13 on line 1 (which is "1" with field 1 of line 4 (which is a "2" and drop the result back in field 13 of line 1.
I find this forum very informative.Thanks
. . . . . . . . . . . . 1 . 1 1 1 . . . . . . . . . . . .
. . . . . . . . . . . 1 1 . 1 1 . 1 . . . . . . . . . . .
. . . . . . . . 1 1 . 1 1 . 1 1 . 1 1 1 . . . . . . . . .
2 7 9 9 2 3 2 2 2
2 9 9 9 1 1 1 1 2
1 1 9 2 1 1 1 1 1 1 3 2
I need to compare field 13 on line 1 (which is "1" with field 1 of line 4 (which is a "2" and drop the result back in field 13 of line 1.
I find this forum very informative.Thanks