I need a shell script which can show me those lines which is having data greater than 200.
for example in the below line
script should add the data value like 10+88=98 and if the value is greater than 200 it should print the whole line like
data =10+88+220 is greater than 200 so it should print the whole line.
Note the data value is dynamic it can appera many times in the file.
The problem is the text which i have mentioned is dynamic and so far i can not understand how to deal with dynamic fields like data string can appear many times in the file and i want to calculate the next filed after the data string and then sum up all the numbers coming just after the data and compare with 200 and if it is greater than 200 then the script should display me those lines