Hi Paolo,

On 29 Jun 2010, at 15:21, Paolo Bonzini wrote:
> On 06/29/2010 08:52 AM, Gary V. Vaughan wrote:
>> func_split_short_arg ()
>> {
>>   arg="$1"; while test ${#arg} -gt 2; do arg="${arg%?}"; done
>>   rest=${1%??}
>> }
> 
> What about
> 
> func_split_short_arg () {
>  rest=${1#??};
>  arg=${1%"$rest"};
> }

Perfect!  I amended libtool.m4 and pushed, many thanks.

Cheers,
-- 
Gary V. Vaughan (g...@gnu.org)

Reply via email to