Fix a couple of typos in the help files for BADDX and BADSPOTTER
[spider.git] / perl / grepdbg
index 35c9a748ba9d4da025e339698d3eb2921e17f00c..a14bf3011d36489004359304b320af3b4baf73f4 100755 (executable)
@@ -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";