Most of the responses didn't spot the spaces in your parameters which
I expect is causing most of your problems.
How's this for a solution if you have the parameters in "file".
eval $(sed -n -e 's/=\(.*\)/="\1"/p' < file)
The sed does the equivalent of your grep and individual echo/seds
echoing the parameters with quotes to be evaluated in the parent shell.
Of course " in the file will cause problems and a whole host of other
things could lead to nasty security holes, but then you know that.
--
Bob Dunlop
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox