Re: tail -f does not exit

2004-05-19 Thread Claude
> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes: I got your code running nicely, although I had to make a small change due to an older Perl (5.004) I am using: [...] Rob> You need to close and reopen the file if you want to check for a rename. Rob> Something like the program below. Which ac

Re: tail -f does not exit

2004-05-14 Thread Claude
> "Rob" == Rob Dixon <[EMAIL PROTECTED]> writes: [...] Rob> You need to close and reopen the file if you want to check for a Rob> rename. Something like the program below. [...] Tx, Rob, I'll give feedback soon here! -- Claude -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additi

Re: tail -f does not exit

2004-05-14 Thread Rob Dixon
Claude" <[EMAIL PROTECTED]> wrote: > > I am reading continuously a file like this: > > open LOG, "junk.txt" or die "Cannot open $file, $!\n"; > while ( my $line = ) { > print "$line"; > } > > While appending lines to the file from a shell command line: > > $ echo "this is a new line" >