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

Tom

Reply via email to