On Thu, 1 Aug 2002 05:50:17 +0900 James F.Hranicky <jfh / cise.ufl.edu> wrote: > On Wed, 31 Jul 2002 21:02:04 +0900 > Florian Frank <flori / eavesdrop.ping.de> wrote: > > > I could try to document a little more in the best english I'm capable > > of. That is, it will probably be quite awful. ;) > > A couple of suggestions: One more suggestion: checkpoint: log.next { |line| process(line) log.checkpoint # write out inode and filepos to a file # or something } Something like def checkpoint open_checkpoint_file write_inode_and_pos sync_checkpoint_file close_checkpoint_file end So, after a crash or reboot, you could start back up where you left off, unless the inode has changed, and then you'd start at the beginning of the new file. Jim