[Scilab-users] Scan file backward from the end?
Antoine Monmayrant
amonmayr at laas.fr
Thu Mar 21 07:44:35 CET 2013
On Wednesday, March 20, 2013 23.43 CET, Serge Steer <serge.steer at inria.fr> wrote:
> If you know the approximate size of the footer in number of bytes (assume N greater than it) you can try to set the pointer N bytes before the end of file using the
> u=mopen("myfile");
> mseek(-N,u,'end')
> then read the rest with
> mgetl(-1,u)
>
> Serge
Thanks for the tip, I'll give it a try today.
Cheers,
Antoine
More information about the users
mailing list