2 # print out the general log file
4 # Copyright (c) 1998 - Dirk Koopman G1TLH
14 my @f = split /\s+/, $cmdline;
17 my ($from, $to, $who, $hint);
20 while ($f = shift @f) { # next field
21 # print "f: $f list: ", join(',', @list), "\n";
22 unless ($from || $to) {
23 ($from, $to) = $f =~ /^(\d+)-(\d+)$/o; # is it a from -> to count?
24 next if $from && $to > $from;
27 ($to) = $f =~ /^(\d+)$/o if !$to; # is it a to count?
37 $from = 0 unless $from;
39 if ($self->priv < 6) {
40 return (1, $self->msg('e5')) if defined $who && $who ne $self->call;
44 @out = $self->spawn_cmd("show/log $cmdline", \&DXLog::print, args => [$from, $to, $main::systime, undef, $who]);