From: minima Date: Thu, 3 Jun 2004 15:03:07 +0000 (+0000) Subject: fix range over different sized numbers in sh/dx X-Git-Tag: R_1_51B~44 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=fd0973e8351e0fc5e762034da5fa02e2a715b6dd;p=spider.git fix range over different sized numbers in sh/dx --- 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;