X-Git-Url: http://dxcluster.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fgrepdbg;h=a14bf3011d36489004359304b320af3b4baf73f4;hb=c33a59698b9c2a7c319200620765d37706e12c5f;hp=35c9a748ba9d4da025e339698d3eb2921e17f00c;hpb=b130a82bd2ea2a977e347c64c26c605931d0b9d2;p=spider.git diff --git a/perl/grepdbg b/perl/grepdbg index 35c9a748..a14bf301 100755 --- 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) { + s/([\x00-\x1f\x7f-\xff])/sprintf("\\x%02X", ord($1))/eg; my @line = split '\^'; my $t = shift @line; print atime($t), ' ', join('^', @line), "\n";