A similar question was asked 5 days, ago (and got similar responses). In particular, I'd recommend looking at my response if you're interested in the specifics of how you might write your own subroutine to mimic tail -f.