From bd87fbf18f04d592677be7270f759ff5bf0623c2 Mon Sep 17 00:00:00 2001 From: minima Date: Tue, 20 Nov 2001 20:12:23 +0000 Subject: [PATCH] make sh/dx on 6m by g works --- cmd/show/dx.pl | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index c63e063f..b2257c49 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -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; -- 2.34.1