diff -Nur -x '*.orig' -x '*.rej' smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed mezzanine_patched_smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed --- smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed 2008-04-04 18:17:32.000000000 +0200 +++ mezzanine_patched_smeserver-coova-chilli-0.1/root/etc/e-smith/templates/etc/chilli.conf/40uamallowed 2008-08-28 14:18:04.000000000 +0200 @@ -1,2 +1,10 @@ -uamallowed {$chilli{'uamallowed'} || '';} +{ +my @uamalloweds = split(/[;,]/, ($chilli{'uamallowed'} || '')); +$OUT = ''; + +# TODO: check the entry with a good regex + +$OUT .= 'uamallowed '.$_."\n" foreach (@uamalloweds); + +}