2 # print out the general log file for rcmds only
4 # Copyright (c) 1998 - Dirk Koopman G1TLH
10 return (1, $self->msg('e5')) if $self->priv < 9;
13 my @f = split /\s+/, $cmdline;
16 my ($from, $to, $who);
19 while ($f = shift @f) { # next field
20 # print "f: $f list: ", join(',', @list), "\n";
22 ($from, $to) = $f =~ /^(\d+)-(\d+)$/o; # is it a from -> to count?
23 next if $from && $to > $from;
26 ($to) = $f =~ /^(\d+)$/o if !$to; # is it a to count?
30 ($who) = $f =~ /^(\w+)/o;
34 $from = 0 unless $from;
36 @out = DXLog::print($from, $to, $main::systime, 'rcmd', $who);