projects
/
spider.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dea6cbc
)
fix backcounting
author
minima
<minima>
Mon, 3 Sep 2001 15:08:58 +0000
(15:08 +0000)
committer
minima
<minima>
Mon, 3 Sep 2001 15:08:58 +0000
(15:08 +0000)
perl/grepdbg
patch
|
blob
|
history
diff --git
a/perl/grepdbg
b/perl/grepdbg
index 55d09788b8c28bf0f3c4f220951567fb9262dd9c..5ab380f6de6d6638f1933ec2155a04f32cc5a5a0 100755
(executable)
--- a/
perl/grepdbg
+++ b/
perl/grepdbg
@@
-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;
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 = ();
print atime($t), ' ', $l, "\n";
}
@prev = ();