2 # print out the general log file
4 # Copyright (c) 1998 - Dirk Koopman G1TLH
11 my @f = split /\s+/, $cmdline;
14 my ($from, $to, $who);
17 while ($f = shift @f) { # next field
18 # print "f: $f list: ", join(',', @list), "\n";
20 ($from, $to) = $f =~ /^(\d+)-(\d+)$/o; # is it a from -> to count?
21 next if $from && $to > $from;
24 ($to) = $f =~ /^(\d+)$/o if !$to; # is it a to count?
28 ($who) = $f =~ /^(\w+)/o;
32 $from = 0 unless $from;
33 if ($self->priv < 6) {
34 $who = $self->call unless $who;
35 return (1, $self->msg('e5')) if $who ne $self->call;
38 @out = DXLog::print($from, $to, $main::systime, undef, $who);