diff options
Diffstat (limited to 'configpm')
-rwxr-xr-x | configpm | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -249,7 +249,7 @@ sub config_sh { sub config_re { my $re = shift; - my @matches = ($config_sh =~ /^$re=.*\n/mg); + my @matches = grep /^$re=/, split /^/, $config_sh; @matches ? (print @matches) : print "$re: not found\n"; } |