Front page | perl.beginners |
Postings from April 2002
Re: Better "tail -f"
Thread Previous
From:
drieux
Date:
April 2, 2002 07:11
Subject:
Re: Better "tail -f"
Message ID:
D0FE00D6-464B-11D6-9A04-0030654D3CAE@wetware.com
On Tuesday, April 2, 2002, at 04:30 , Bruno Figueira wrote:
> However, if another program removes (all) lines from the file referenced
> by
> FH, perl looses the trailing (for a undetermined time). How do I improve
> this code to understand the file was changed?
I misread your problem - then ran into it...
used the p2 code from yesterday in p2>filename
and it made:
http://www.wetware.com/drieux/CS/lang/Perl/Beginners/file_change_while_tailing.
txt
act stoopid - till I put the spare subroutine into reset
to begining....
ciao
drieux
---
Thread Previous