GNU grep, egrep and fgrep
Copy the tea one-liner above into your terminal to install grep. tea will interpret the documentation and take care of any dependencies.