From fd0973e8351e0fc5e762034da5fa02e2a715b6dd Mon Sep 17 00:00:00 2001 From: minima Date: Thu, 3 Jun 2004 15:03:07 +0000 Subject: [PATCH] fix range over different sized numbers in sh/dx --- cmd/show/dx.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/show/dx.pl b/cmd/show/dx.pl index 57271e8f..c3806f87 100644 --- a/cmd/show/dx.pl +++ b/cmd/show/dx.pl @@ -153,7 +153,8 @@ if (@freq) { for ($i = 0; $i < @freq; $i += 2) { $expr .= "(\$f0 >= $freq[$i] && \$f0 <= $freq[$i+1]) ||"; my $r = Spot::ftor($freq[$i], $freq[$i+1]); - $hint .= "m{$r\\.} ||" if $r; +# $hint .= "m{$r\\.} ||" if $r; + $hint .= "m{\d+\.} ||"; } chop $expr; chop $expr; chop $hint; chop $hint; -- 2.43.0