I believe this is a simple task, but I'm having problems getting things to work the way I would expect them to.
What I have is a master file containing about 1000 lines.
Each line looks like this:
2008_06_01 07:55 24.8 83.1
What I need to do is extract all the lines that have a value between 30 and 45 in the column where you currently see "24.8."
I am dealing with both positive and negative values. (I need to accept -30 and 30 and -31 and 31 and so on...)
Once I have read through the file and selected all the records with the values in the desired range, I need to write them to a new output file.
Can anyone suggest a method for doing this?
Any assistance is greatly appreciated.