#!/usr/pkg/bin/perl print < EOH while() { chomp(); ($call,$freq,$gmt,$zone) = split ',', $_; if ( $freq < 350000 ) { $band = '160M';} elsif ( $freq < 700000 ) { $band = '80M';} elsif ( $freq < 1400000 ) { $band = '40M';} elsif ( $freq < 2100000 ) { $band = '20M';} elsif ( $freq < 2800000 ) { $band = '15M';} elsif ( $freq < 3000000 ) { $band = '10M';} $freq = sprintf("%8.5f", $freq/100000); $mult = ''; if ( $MULT{"$band $zone"} == 0) { $mult = $zone; $MULT{"$band $zone"}++; } $call =~ s/ //g; $len =length($call); ## print $call, ' ', $band, ' ', $freq, ' ', $zone, ' ', $mult,"\n"; if ($gmt < 300 ) {$date = 1129;} else {$date = 1128;} print '',$call, '2008',$date, '',$gmt,'00', '',$band, '',$freq, 'CQWWCW', '',$freq, 'CW' , '599' , '599' , 'JA1XMS', '',$zone, '', '', '', '', '', '', "\n"; ; } __END__ YB4MM, 2106600,0540,28 BU2AC, 2102300,0542,24 H44MY, 2104860,0546,28 KG6DX, 2100598,0548,27