make sh/dx on 6m by g works
authorminima <minima>
Tue, 20 Nov 2001 20:12:23 +0000 (20:12 +0000)
committerminima <minima>
Tue, 20 Nov 2001 20:12:23 +0000 (20:12 +0000)
cmd/show/dx.pl

index c63e063f68f6352dd170ea1bfed15a00059bac11..b2257c49b48ac04e412be931cc731f459e84174b 100644 (file)
@@ -121,6 +121,7 @@ if ($info) {
 # any spotter
 if ($spotter) {
        $expr .= " && " if $expr;
+       $spotter .= '*' unless $spotter =~ /[\*\?\[]/o;
        $spotter = shellregex($spotter);
        $expr .= "\$f4 =~ m{\U$spotter}";
        $hint .= " && " if $hint;