At 7:55 AM -0400 10/13/07, Garry T. Williams wrote: >On Thursday 11 October 2007 08:50:31 FS wrote: >> I have a need to track changes to a file being made in real-time. > >Curtis mentioned inotify(7). Here's a small sample program using this >interface. AFAICT, inotify cannot solve the OP's problem. He already knows the file. He needs to know /where/ and /what/ changed in the file. inotify can optimize the actual solution so it won't need polling. -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/>