fix sh/dx properly both for freq range and adding a . to the end of
[spider.git] / cmd / show / dx.pl
index 380328ee9486eeb76ab51b6246cac31e3846bdff..c63e063f68f6352dd170ea1bfed15a00059bac11 100644 (file)
@@ -101,7 +101,7 @@ 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;
        }
        chop $expr;     chop $expr;
        chop $hint;     chop $hint;