This is the example I was given by another programmer to make the grep command pickup my variable as an absolute value since using quotes did not seem to work.
The grep command is interpreting the initial dashes in the data value as grep options.
So .. I guess my REAL question is.. how do I get the grep command to view my value which has dashes in the lead spaces and not interpret it as dashes for more options?
The easiest way is to use a modern grep. On Suns this is /usr/xpg4/bin/grep. Then anything following a -e is a search string, even if it has a leading -. Your use of /usr/bin/grep suggests that might want to use the old grep. For that, you will need to transform the string into a regular expression that matches the string but does not start with a -. Changing the leading - to [-] is the easiest way to do that.