From: Don Armstrong Date: Fri, 15 Jul 2016 21:38:09 +0000 (-0700) Subject: actually strip out spaces from the option name X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;ds=sidebyside;h=b31e3cfcf2a6018895d655ac8f38df0f409180fe;p=debian-ctte.git actually strip out spaces from the option name --- diff --git a/scripts/pocket-devotee b/scripts/pocket-devotee index 1cecb82..232f316 100755 --- a/scripts/pocket-devotee +++ b/scripts/pocket-devotee @@ -108,7 +108,7 @@ sub main { } my @options; for my $option (@{$options{option}}) { - my ($key,$name,$majority) = $option =~ /^\s*([^:]+)\s*:\s*(.+?)\s*(?::(\d+))?$/; + my ($key,$name,$majority) = $option =~ /^\s*([^:]+?)\s*:\s*(.+?)\s*(?::(\d+))?$/; $majority //= 1; push @options,{key => $key, name => $name,