Hi I've a large data file made up as follows
5.537681 3.993655 -5.651005
1.835011 6.016797 -5.632307
-2.336837 5.943220 -5.699044
Now I want to read in each line and based on the last number ie -5.651005, filter ( eg if > -5.6 move) the line to a new file.
I though about writing each line to a string and then trying to obtain -5.651005 within the string, but i wasnt sure how to do this.
Its a big original file, so it makes sence to read the line and filter it at the same time.
all advice gratefully received,