As for your task, try something like:
tail -1000 access_log | grep mygregexpAnother possibility is tac access_log | grep ...
As for your task, try something like:
tail -1000 access_log | grep mygregexpAnother possibility is tac access_log | grep ...