* Antonio A. M. Kukul <mkt...@gmail.com>, 2013-09-20, 15:13:
Changing this:

server=$(pdnsd-ctl status|sed -ne '/^Global:$/,/^Server.*:$/s/.*Server ip.*: 
\(.*\)$/\1/p')

to this

server=$(pdnsd-ctl status|sed -ne '/^Global:$/,/^Server.*:$/s/.*Server ip.*: 
\(.*\)$/\1/ip')

in both scripts, it now works fine.

This is because the way of pdnsd-ctl status reports server ip, now it do that with the word "ip" capitalized:

Your analysis is correct, but the fix isn't completely right. This is because case-sensitive matching is locale-dependent. For example, in Turkish "i" and "I" are different letters, so your fix wouldn't work in tr_TR locales.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to