fix sh/log things to allow all search strings
[spider.git] / cmd / show / rcmd.pl
index d7cbd332a5529a9cd7099e6962f4afdb4a6eb9bf..0a362075ce0005e17e549bee2d7b98c3db81eeef 100644 (file)
@@ -27,7 +27,9 @@ while ($f = shift @f) {                 # next field
                next if $to;
        }
        next if $who;
-       ($who) = $f =~ /^(\w+)/o;
+       if ($f !~ /^\d+/) {
+               ($who) = $f;
+       }
 }
 
 $to = 20 unless $to;