projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disconnect channels whose route node has disappeared
[spider.git]
/
perl
/
grepdbg
diff --git
a/perl/grepdbg
b/perl/grepdbg
index 35c9a748ba9d4da025e339698d3eb2921e17f00c..a14bf3011d36489004359304b320af3b4baf73f4 100755
(executable)
--- a/
perl/grepdbg
+++ b/
perl/grepdbg
@@
-62,6
+62,7
@@
for my $entry (@list) {
shift @prev while @prev > $nolines;
if ($line =~ m{$string}io) {
for (@prev) {
shift @prev while @prev > $nolines;
if ($line =~ m{$string}io) {
for (@prev) {
+ s/([\x00-\x1f\x7f-\xff])/sprintf("\\x%02X", ord($1))/eg;
my @line = split '\^';
my $t = shift @line;
print atime($t), ' ', join('^', @line), "\n";
my @line = split '\^';
my $t = shift @line;
print atime($t), ' ', join('^', @line), "\n";