X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2Fgrepdbg;h=250a898b5701aed2647c9e1de1822909cb48207e;hb=cf33b1fa05b8e3489232a4e57f0ba2542b0e7a64;hp=c44fc92b85c3a08f2565ef95e73f91a82886a1ca;hpb=9da1742219a27b1c02fd57794412088e4d7b3d1d;p=spider.git diff --git a/perl/grepdbg b/perl/grepdbg index c44fc92b..250a898b 100755 --- a/perl/grepdbg +++ b/perl/grepdbg @@ -43,7 +43,7 @@ for my $arg (@ARGV) { last; } } -die "usage: dispdbg [[-nnn] ..] \n" unless $string; +die "usage: grepdbg [[-nnn] ..] \n" unless $string; push @list, "0" unless @list; for my $entry (@list) { @@ -54,7 +54,7 @@ for my $entry (@list) { while (<$fh>) { my $line = $_; chomp $line; - if ($line =~ m{\Q$string}io) { + if ($line =~ m{$string}io) { my @line = split '\^', $line; my $t = shift @line; print atime($t), ' ', join('^', @line), "\n";