Do anyone have an idea on how to achieve the following task using a shell/perl script?
Lets say some data is being written forever to File1. I need to get some specific data from File1 (say lines containing word 'IDENTIFIER') and write to File2 always.
The question seems to be simple but I think it is tricky and need some good time to get the solution.
Any help on this is highly appreciated. Thanks in advance.