>>>>> "Jerome" == Jerome G Benoit <[EMAIL PROTECTED]> writes:
>> Generally the answer is "use sed". Do you really mean to assign to
>> "$bb"? I'm suprised that works. In that case you might need
>> sed+eval.
Jerome> Can you please be more explicit/verbose ?
Actually you should give more details :)
What Tom says is that you wrote
$var=$val
where
var=$val
is expected. If you want to have an indirection on the name of the
destination, you need
eval $var=$val
Finally, ${ %% } is not portable. Use sed as Tom said.