|
Re: PATCH: random sleep modification: msg#00086gnu.core-utils.bugs
Phil Tanguay wrote: > On Thu, 20 Mar 2003, Paul Jarc wrote: > > Why not: perl -e 'sleep(42*rand())' > > -rwxrwxr-x 1 ptanguay ptanguay 13128 Mar 20 17:13 ./sleep > -rwxr-xr-x 2 root root 797576 Apr 1 2002 /usr/bin/perl > > perl seems a little top heavy to replace 6 lines of code.... Agreed. But you don't need perl. Just use the shell. sleep $(expr $RANDOM % 42) Bob |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: pr: -T wipes out any meaning of -l: 00086, Dan Jacobson |
|---|---|
| Next by Date: | Hostname/Domainname Bug?: 00086, Seemant Kulleen |
| Previous by Thread: | Re: PATCH: random sleep modificationi: 00086, Phil Tanguay |
| Next by Thread: | Re: PATCH: random sleep modification: 00086, Phil Tanguay |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |