How I can read a file line by line and compare results with some parameters then performe automatically a script.
I wish read the last line in File1 which is populated periodically.
FILE1
line1
line2
...
...
...
LineN Now read this line
...
...
LineN+X Then i wish read this line and the script
running
The script must read the file and know in what line stay at last time, and so on
I wish read the last line in File1 which is populated periodically.
FILE1
line1
line2
...
...
...
LineN Now read this line
...
...
LineN+X Then i wish read this line and the script
running
The script must read the file and know in what line stay at last time, and so on