Extracting text from a file where date -time is the index
Posted
by Soham
on Stack Overflow
See other posts from Stack Overflow
or by Soham
Published on 2010-06-02T04:30:43Z
Indexed on
2010/06/02
10:04 UTC
Read the original article
Hit count: 343
I have got around 800 files of maximum 55KB-100KB each where the data is in this format
Date/Time/Float1/Float2/Float3/Float4/Integer
Date is in DD/MM/YYYY format and Time is in the format of HH:MM
Here the date ranges from say 1st May to 1June and each day, the Time varies from 09:00 to 15:30.
I want to run a program so that, for each file, it extracts the data pertaining to a particular given date and writes to a file.
I will not face any problem in writing into directory operations.
I am trying to get around, to form a to do a search and extract operation. I dont know, how to do it, would like to have some idea.
Thanks Soham
© Stack Overflow or respective owner