About this list Date view Thread view Subject view Author view Attachment view

From: Enrico Scholz (enrico.scholz_at_informatik.tu-chemnitz.de)
Date: Fri 07 Jan 2005 - 15:44:40 GMT


Hans Ulrich Niedermann <vserver_at_n-dimensional.de> writes:

>>> For _dietlibc_ver_min="27-7", the line
>>>
>>> _dietlibc_ver_min=${_dietlibc_ver_min%%[!0-9]*}
>>>
>>> doesn't do what it is supposed to do.
>>
>> What do you expect there?
>>
>> | $ _dietlibc_ver_min="27-7"
>> | $ echo ${_dietlibc_ver_min%%[!0-9]*}
>> | 27
>>
>> seems to be the correct result.
>
> Exactly, if it is in the shell. But due to [] being the m4 quotes, you
> have to write that as
>
> dietlibc_ver_min=${_dietlibc_ver_min%%[[!0-9]]*}
>
> in m4/ensc_dietlibc.m4.

argll... stupid error. Thx for detecting it.

Enrico
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 07 Jan 2005 - 15:45:08 GMT by hypermail 2.1.3