I have a text file of 5631
lines. I want to extract and store the number which appears after the word bytes at
Sample line form middle of the file is below :
debug3: In write loop, ack for 1606 32768 bytes at 52527104
Here I want the value 52527104
. Each line this value increases and my goal is to calculate the percent completion based on each lines value. By using the formula ((obtained*100)/total)
.
Thanks.