[scilab-Users] Reading the llast line from a file

Adrien Vogt-Schilb vogt at centre-cired.fr
Tue Jun 26 16:26:19 CEST 2012


On 26/06/2012 12:41, Tima wrote:
> Hi,
>
> Does anybody know how to read and save the last line from a file.
> For example, I have this /file.txt/
> 1.0
> 2.0
> 3.0
> 4.0
> 5.0
> 6.0
>
>
> --
> View this message in context: http://mailinglists.scilab.org/Reading-the-llast-line-from-a-file-tp4024440.html
> Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this mailing-list, please send an empty mail to
> users-unsubscribe at lists.scilab.org
> To check the archives of this mailing list, see
> http://mailinglists.scilab.org/
you can always do a

foo = read_csv("file.txt")
foo($)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120626/a6aa2a65/attachment.htm>


More information about the users mailing list