]> dxcluster.net Git - spider.git/commitdiff
fix backcounting
authorminima <minima>
Mon, 3 Sep 2001 15:08:58 +0000 (15:08 +0000)
committerminima <minima>
Mon, 3 Sep 2001 15:08:58 +0000 (15:08 +0000)
perl/grepdbg

index 55d09788b8c28bf0f3c4f220951567fb9262dd9c..5ab380f6de6d6638f1933ec2155a04f32cc5a5a0 100755 (executable)
@@ -64,7 +64,7 @@ for my $entry (@list) {
                        if ($line =~ m{$string}io) {
                                for (@prev) {
                                        s/([\x00-\x1f\x7f-\xff])/sprintf("\\x%02X", ord($1))/eg; 
-                                       my ($t, $l) =  split /\^/, $line, 2;
+                                       my ($t, $l) =  split /\^/, $_, 2;
                                        print atime($t), ' ', $l, "\n"; 
                                }
                                @prev = ();