Thanks you for your response:

Tom Tromey wrote:
> 
> Jerome> I try to write a transportable AC_DEFUN:
> Jerome> I want to wrire simple substitution command as (in bash):
> 
> Jerome> $bb=${BB%%.*}
> 
> Jerome> Is there a more transportable way to do that ?
> 
> This is more of an autoconf question.

it is a type mistake.

> 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.

Can you please be more explicit/verbose ?

Thanks again,
Jerome

> 
> Tom

Reply via email to