filtering (fetchmail) log file
I need to filter a (fetchmail) log file, so that only bottom of file, from last occurrence of 'messages for' till end is shown.
What would be simplest way of doing it? Thanks. |
think I found the solution:
Code:
tac fetchmail.log | sed -n '/reading message/,$p; /messages for/q' |tac |
All times are GMT -5. The time now is 09:08 PM. |