#!/bin/sh #This takes a command line argument and uses it right 'here' #see the functions.html in this site for another treatment of 'here' if test $# -ne 1 then echo You must enter exactly 1 command line argument exit 1 else grep -iw "$1" <<+ red primary green primary mauve not primary tofu not even a color brown not primary meat my preferred food + fi #