Revered Monks,
I have a file in which i have data scrambled here and there with in few lines. see the below sample
the file wil be like this..
head 1.3;
branch ;
access ;
symbols ;
locks ; strict;
comment @@;
format binary;
1.3
date 2006.04.04.13.57.13; author d; state Exp;
branches ;
next 1.2;
1.2
date 2006.04.04.08.55.21; author d; state Exp;
branches ;
next 1.1;
1.1
date 2006.03.27.15.45.18; author d; state Exp;
branches ;
next ;
ext
i need to collect the last version number, date and the latest version date and number. So i some how managed to put this info in a new file and to proceed further i need to know is there any filepointer function which can traverse to the line number specified or file open options which read from the last line of the file.
Any ideas or suggestions is appreciated
-Prasanna.K