Might seem like a stupid little trick, but...

On a mac, if you want to grep your terminal scrollback (as opposed to using search).

command-a (select all), command-c (copy), then:

1
pbpaste | grep <WHAT YOU ARE LOOKING FOR>