A question on ACX_BUGURL

Paolo Bonzini paolo.bonzini@lu.unisi.ch
Mon Mar 26 14:10:00 GMT 2007


H. J. Lu wrote:
> On Mon, Mar 26, 2007 at 09:13:30AM +0200, Paolo Bonzini wrote:
>> Please do this instead:
>>
>>   REPORT_BUGS_TEXI=@uref{`echo "$BUGURL" | sed 's/@/@@/g'`}
>>
> 
> Will it work with spaces in $BUGURL?

Yes, it will.  You need quoting in the echo command, but
not in the variable assignment.  Quoting both the echo
command-line and the variable assignment is not portable.

Variable assignments (and case statements, as Andreas
pointed out) do not perform word splitting of variables.

Paolo



More information about the Binutils mailing list