I think you will need to use the file handle with the while loop as the other posters have suggested. Have you tried this?
In reply to Re^3: Watch log for string (tail -f)
by live4tech
in thread Watch log for string (tail -f)
by hmb104
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |