[Python-apps-team] Bug#638752: Bug#638752: Bug#638752: Commands in /etc/clustershell/groups.conf do not work with mawk, only with gawk
Stéphan Gorget
phantez at gmail.com
Mon Dec 19 10:34:03 UTC 2011
>>
>> The commands in /etc/clustershell/groups.conf do not work with mawk, which
>> is installed by default in Debian. Only with gawk, they work correctly.
>>
>> Example:
>>
>> # mawk -F: '/^[[:alnum:]_]/ {print $1}' /etc/clustershell/groups
>> # gawk -F: '/^[[:alnum:]_]/ {print $1}' /etc/clustershell/groups
>> nodes
>> all
>>
I change :
list: awk -F: '/^[[:alnum:]_]/ {print $1}' /etc/clustershell/groups
into that :
list: awk -F: '/^[0-9A-Za-z_-]/ {print $1}' /etc/clustershell/groups
for then next release and this will be OK.
--
Stéphan Gorget
More information about the Python-apps-team
mailing list