Pádraig Brady wrote:
> Pádraig Brady wrote:
>> sleep $(seq .1 .1 4 | head -n $(($RANDOM%40 +1)) | tail -n1)
>
> Or more concisely using just coreutils logic:
>
> sleep $(seq .1 .1 4 | shuf | head -n1)

Or save a pipe+process:

    sleep $(seq .1 .1 4 | shuf --head=1)


Reply via email to