-F or --retry doesn't seem to work on my system (AIX 5.3):
$>tail -n1 -F IMC_Stats.log
Usage: tail [-f] [-c Number|-n Number|-m Number|-b Number|-k Number] [File]
Usage: tail [-r] [-n Number] [File]
Usage: tail [+|-[Number]][l|b|c|k|m][f] [File]
$>tail -n1 --retry IMC_Stats.log
Usage: tail [-f] [-c Number|-n Number|-m Number|-b Number|-k Number] [File]
Usage: tail [-r] [-n Number] [File]
Usage: tail [+|-[Number]][l|b|c|k|m][f] [File]
Any other ideas are appreciated...
Quote:
Originally Posted by
mglenney
Disclaimer: I use bash, not ksh
use -F or --retry. So:
tail -n1 -f --retry /home/dirTalk/current_dir/oamlog/ASAI.log | while read output_line
or
tail -n1 -F /home/dirTalk/current_dir/oamlog/ASAI.log | while read output_line
MG