From: Steinar H. Gunderson Date: Sun, 20 Jan 2008 17:01:42 +0000 (+0100) Subject: Workaround for double spaces added by Zappa Mexico; patch from X-Git-Url: https://git.sesse.net/?p=remoteglot;a=commitdiff_plain;h=a8b3bf55a7bed6924b44c94931d0fc2c71f6aae2;hp=31892863fc50b36fbbfa29f7d66088cd1f0ef47b Workaround for double spaces added by Zappa Mexico; patch from nematocyst. --- diff --git a/remoteglot.pl b/remoteglot.pl index f36a050..16416ba 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -215,6 +215,7 @@ sub handle_uci { chomp $line; $line =~ tr/\r//d; + $line =~ s/ / /g; # Sometimes needed for Zappa Mexico print UCILOG localtime() . " <= $line\n"; if ($line =~ /^info/) { my (@infos) = split / /, $line;