On Thu, 14 Oct 2004 00:40:23 +0900, Lionel Thiry <lthiry / skynet.be> wrote:
> Hi!
> 
> I'd like to make some kind of substitution like in a shell, i.e. having:
> "${tool} -o ${target} -L${libpath} -l${lib} ${source}"

What's the full context of this?

In Ruby, you can interpolate into strings using "the #{code} part will
be replaced with whatever 'code' returns", so "5*5 is #{5*5}" becomes
"5*5 is 25".

However, because I don't really know your context, I don't know if
this can solve your problem.  If it can't, please give more contextual
details.

Eivind.