I am writing a script which will open a txt file with contents as follows:
/1320 12-22-16 data0/impr789.dcm sent
/1340 12-22-18 data1/ir6789.dcm sent
/1310 12-22-16 data0/impr789.dcm
/1321 12-22-16 data0/impr789.dcm
I want to read lines only which are not tagged eg. in above txt file read line /1310 and then do some operation to send that data on cloud and tagg it as sent.. In the next iteration read from line /1321 and send it again and then tag it as sent at the end.
How should i do this?
Thanks!