projects
/
APKPM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c489cfc
)
strip traling spaces
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 May 2011 20:12:24 +0000
(22:12 +0200)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 10 May 2011 20:12:24 +0000
(22:12 +0200)
lib/H1/ZTEMSAN.pm
patch
|
blob
|
history
diff --git
a/lib/H1/ZTEMSAN.pm
b/lib/H1/ZTEMSAN.pm
index
0a45155
..
93a2e3f
100755
(executable)
--- a/
lib/H1/ZTEMSAN.pm
+++ b/
lib/H1/ZTEMSAN.pm
@@
-55,7
+55,7
@@
sub command {
my $last_line;
foreach my $line ( split(/[\n\r]+/, $out) ) {
warn "# $line\n";
- if ( $line =~ m/^(\S+.*?)\s+:\s+(\S+.*
)
$/ ) {
+ if ( $line =~ m/^(\S+.*?)\s+:\s+(\S+.*
?)\s*
$/ ) {
my ($n,$v) = ($1,$2);
$n =~ s/\(.+\)//;
$hash->{ $section . $n } = $v;