in reply to Re^2: how to populate array with last 20 lines of file
in thread how to populate array with last 20 lines of file
Yeah .. not surprising, since you tail the file once, and then stop.
Why not read it, sleep for a minute, then read it again, as your original script tried to do?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: how to populate array with last 20 lines of file
by ytjPerl (Scribe) on Aug 08, 2017 at 18:08 UTC |