I have a log file that is constantly growing. How can I watch and parse it via a Ruby script?
The script will parse each new line as it is written to the file and ou
Poor man's approach for quick stuff:
a Ruby script that does
ARGF.each do |line| ...
Running screen with:
tail -f file | ruby script