[Gambas-user] monitor file for changes

Benoit Minisini gambas at ...1...
Mon Sep 6 12:49:32 CEST 2004


On Monday 06 September 2004 12:04, lasse at ...186... wrote:
> Hi all,
>
> Been fooling around with a way to monitor a file for changes and print the
> last line entered in the file if it has changed but cannot seem to find an
> easy way of doing it !
>
> Any hints anyone ? Have anyone done something similar ??
>
> Regards,
>
> Lasse K. Christiansen
>
>

I think you can do that by getting the output of "tail -f YourFile". Type 'man 
tail' for more details.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list