I have a data file as such:
"1" { "data1" "test.V1_0"; "StrCatDone" "0"; "seq_name" "sequence.V5_0"; "seq_step" "22"; } "2" { "data1" "test.V1_0"; "StrCatDone" "1"; "seq_name" "sequence.V5_0"; "seq_step" "41"; }
I need to search through each file one block at a time and find instances in which StrCatDone is = 1. When that is true I need to change the following data point, seq_name, from sequence.V5_0 to sequence_$newtext.
I would like some opionions on how best to do this.
Thanks
Code tags added by GrandFather
In reply to Altering data files by Lhamo_rin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |