Win a copy of Functional Reactive Programming this week in the Other Languages forum!
    Bookmark Topic Watch Topic
  • New Topic

reading from the end of file

 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Report post to moderator
hey folks,
i have a huge log file (asci text) but i need to read in it only a number of last lines (the logs from the last day,beginning from the last line). i pretty hate all io stuff
didn't find any method in the api which lets me read lines from the end. is it any way to do it without reading all of the lines from the beginning?
thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please do not cross post. Continue this conversation here.
 
    Bookmark Topic Watch Topic
  • New Topic