X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ffilter.pl;h=345603b847456060293214f153246e4ad3f02b45;hb=96461da2f857d65129b2e6acd19bd075984c31f1;hp=7fd7923a5093b23f96d87f42e2c795671704de22;hpb=b85ee0ca2b03ee2c5be20bd430cfa00757b7ebdb;p=spider.git diff --git a/cmd/show/filter.pl b/cmd/show/filter.pl index 7fd7923a..345603b8 100644 --- a/cmd/show/filter.pl +++ b/cmd/show/filter.pl @@ -25,12 +25,12 @@ if (@f) { push @in, qw(ann spots wcy wwv); } -my $key; -foreach $key (@in) { - my $ref = Filter::read_in($key, $call, 1); - push @out, $ref->print($call, $key, "input") if $ref; - $ref = Filter::read_in($key, $call, 0); - push @out, $ref->print($call, $key, "") if $ref; +my $sort; +foreach $sort (@in) { + my $ref = Filter::read_in($sort, $call, 1); + push @out, $ref->print($call, $sort, "input") if $ref; + $ref = Filter::read_in($sort, $call, 0); + push @out, $ref->print($call, $sort, "") if $ref; } push @out, $self->msg('filter3', $call) unless @out; return (1, @out);