Defaulted to case insensetive searck,
Added -c switch, for case sensetive search
Added variable definitipon check.
Defaulted to add leading/trailing .* to patterd.
Added -e switch for exact search (no leading/trailing characters)