Depends on the manner in which the data is organised and the reason for parsing the file.
Do you want to extract certain fields from it or do you want to search for certain patterns e.t.c?
The text file is organised as space separated fields....there are many entries .....for example, i have a date field along with all other fields...i want to get the entries which are between a range of dates in the file......
i.e ...the file looks like
Cid Ctype 2 PortID j k l m EntytyType 0 0 0 20070508164501 Job123456789123456789123456789123456Note Circuit12345123456789123456789123456Name 5 10 20
Cid Ctype 2 PortID j k l m EntytyType 0 0 0 20070508164502 Job123456789123456789123456789123456Note Circuit12345123456789123456789123456Name 5 10 20
20070508164501 is the date...i want the entries between 20070508164500 and
20070508164515