fix sh/log things to allow all search strings
[spider.git] / cmd / show / rcmd.pl
index 7cd02d5de7022f8738145037e649b1571af6a385..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;