[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PATCH: random sleep modification
From: |
Phil Tanguay |
Subject: |
Re: PATCH: random sleep modification |
Date: |
Fri, 21 Mar 2003 08:25:04 -0500 (EST) |
On Thu, 20 Mar 2003, Bob Proulx wrote:
> > 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)
Agreed, didn't know that trick. I know a lot more C than I do shell. When
all you have is a hammer, everything looks like a nail. ;>
Cheers!
-Phil