Reading files backwards

xbury.cs at clearstream.com xbury.cs at clearstream.com
Mon Apr 22 08:00:00 EDT 2002


Hi Gang,

Got a problem which may help others if there is a solution...
I need to read the very last line from a file that's 3 - 20MBs large...
So I tried:

open file blabla for reading
read from file blabla for -100
put the result into r
put it into x
close file blabla

Unfortunately I never got an answer back, MC crashed...
No result, no error...

I dont want to resort to external programs (tail.exe) to do this...
Does anyone have a standard scripted solution?

Thanks in advance
Xavier



Visit us at http://www.clearstream.com/_focus1.htm    
                                                          
IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message.

The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries.

END OF DISCLAIMER



More information about the metacard mailing list