[Gambas-user] monitor file for changes
lasse at ...186...
lasse at ...186...
Mon Sep 6 13:17:30 CEST 2004
Hi,
I know about using "tail -f", but i want to do this using Gambas and display
is with a GUI frontend and then possibly do some alerting and filtering on
the contents which is why i wanted to do it using gambas !
Any way of doing it with Gambas. I've been trying to fool around with EOF
functionality but without much luck.
Regards,
Lasse
On Monday 06 September 2004 12:49, Benoit Minisini wrote:
> 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,
More information about the User
mailing list