projects
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d910829
)
exiqgrep: handle queue line size output too small for K
author
Phil Pennock
<pdp@exim.org>
Fri, 7 Oct 2011 20:37:32 +0000
(16:37 -0400)
committer
Phil Pennock
<pdp@exim.org>
Fri, 7 Oct 2011 20:37:32 +0000
(16:37 -0400)
src/src/exiqgrep.src
patch
|
blob
|
blame
|
history
diff --git
a/src/src/exiqgrep.src
b/src/src/exiqgrep.src
index da63c99809aae4af2d3e6a5745f0b911902fcabd..75265a2bb37ed0e277c521984ddd7d8bdc0fad71 100644
(file)
--- a/
src/src/exiqgrep.src
+++ b/
src/src/exiqgrep.src
@@
-87,7
+87,7
@@
sub collect() {
chomp();
my $line = $_;
#Should be 1st line of record, if not error.
- if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z])?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) {
+ if ($line =~ /^\s*(\w+)\s+((?:\d+(?:\.\d+)?[A-Z]
?
)?)\s*(\w{6}-\w{6}-\w{2})\s+(<.*?>)/) {
my $msg = $3;
$id{$msg}{age} = $1;
$id{$msg}{size} = $2;