X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=cmd%2Fshow%2Ffilter.pl;fp=cmd%2Fshow%2Ffilter.pl;h=345603b847456060293214f153246e4ad3f02b45;hb=ebbe325acb6e18437ae01cb1b32e615c83e24641;hp=7fd7923a5093b23f96d87f42e2c795671704de22;hpb=1f1ba20386876b3d2a74e5e4d77bf7119a04610b;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);