Quick Grep Tricks

Grep for x or y, eg:

ls -lR | grep "x\|y"

Removing blank lines from output:

grep -v "^$" filename