Hello Monks, I have to find a string from a txt file which is constantly getting written by some other script ( basically script A logs its result in log.txt file which runs for hours) , now i have to read the last line of the log.txt file ( by tail or something) and report to some other script that if the run is taking place in proper manner or not. the log.txt has one pattern
TPSM seed 234B8177 pass 1 x 2 x 50 errors 0 pid 34562 rulefilecycl +e 0
the numbers above keeps on changing but the string pattern remains constant pls help as i am not understanding how to implement this
In reply to Searching a string in running file by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |