Greetings!
I am looking at developing a vi to extract some numbers from an oddly arranged text file. I would rather not try to modify the program that makes the file as it wasn't written by me and is rather scary to look at (it wasn't coded well and breaks easily when messed with).
The program creates an individual file as shown in the attachment. It then appends another set of data in the same arrangment. It does this up to 144 times, depending on how much data is accumulated prior to being read.
What is the best way to extract the numbers at the end of each line? Should I pull it into an array and index out each point? Or should I scan the text and single out the numbers from the rest? Or is there some easier way? I'm using this as a learning oppurtunity and would like to have the proper route to tackle this up front rather than write some kind of Frankencode and find out later that, silly, I could have simply done 'X' and saved hours of development.
By the way, I am using version 7.1 in case someone asks.
Tay