I haven't tried it myself, but Java does have a "tail" command that
should do exactly what you want.

m!ke 

-----Original Message-----
From: C S [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 09, 2008 7:53 AM
To: CF-Talk
Subject: Re: CF8: Reading a file from the end instead of the beginning?

> Here is a down-and-dirty example.  

I realized the snippet above does not account for lines broken across
the "grabBytes" barrier. So that alteration is needed. But the code
snippet should give the basic idea at least. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304986
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to