I have a large file with different information, but in a structured fashion. I just
want to change the values of one structured information. A small example will help as what exactly I am talking about:
Example set:
0 0 -99 1
22465
1 2
5 6 7
11 1.000 -1 TOP BOT Layer 1
4 4.3 6 7.2
5 3 9 2
1 2 6 3
11 1.000 -1 funny 1
2 6 7
9 4 3
11 1.000 -1 TOP BOT Layer 2
7 8 9 3
8 2 1 4
12 1 8 9
2 5 7 3
11 1.000 -1 funny 2
4 7 9
3 1 2
I now want to change the values in the TOP BOT Layer 1 structure by, say 9 and that in
TOP BOT Layer 2 structure by 6. I just want to change values of TOP BoT Layer structures.
The final dataset would look like:
0 0 -99 1
22465
1 2
5 6 7
11 1.000 -1 TOP BOT Layer 1
9 9 9 9
9 9 9 9
9 9 9 9
11 1.000 -1 funny 1
2 6 7
9 4 3
11 1.000 -1 TOP BOT Layer 2
6 6 6 6
6 6 6 6
6 6 6 6
6 6 6 6
11 1.000 -1 funny 2
4 7 9
3 1 2
Thanks always for any help.
want to change the values of one structured information. A small example will help as what exactly I am talking about:
Example set:
0 0 -99 1
22465
1 2
5 6 7
11 1.000 -1 TOP BOT Layer 1
4 4.3 6 7.2
5 3 9 2
1 2 6 3
11 1.000 -1 funny 1
2 6 7
9 4 3
11 1.000 -1 TOP BOT Layer 2
7 8 9 3
8 2 1 4
12 1 8 9
2 5 7 3
11 1.000 -1 funny 2
4 7 9
3 1 2
I now want to change the values in the TOP BOT Layer 1 structure by, say 9 and that in
TOP BOT Layer 2 structure by 6. I just want to change values of TOP BoT Layer structures.
The final dataset would look like:
0 0 -99 1
22465
1 2
5 6 7
11 1.000 -1 TOP BOT Layer 1
9 9 9 9
9 9 9 9
9 9 9 9
11 1.000 -1 funny 1
2 6 7
9 4 3
11 1.000 -1 TOP BOT Layer 2
6 6 6 6
6 6 6 6
6 6 6 6
6 6 6 6
11 1.000 -1 funny 2
4 7 9
3 1 2
Thanks always for any help.