Objective: To search for any combination of (up to) 5 keywords per line of a file. Usage: keyfind.sh foo bar

Assuming you have a file named 'somefile' and it contains "This bar tastes like foo!" in it, then you will get:

This bar tastes like foo!