Displaying 1 result from an estimated 1 matches for "random_int".
Did you mean:
random_init
2013 Mar 20
3
[PATCH] Change test scripts shell to bash, to avoid lack of arithmetic support in dash, which is sh on Ubuntu 10.04
Erik,
I was thinking of doing this:
export MALLOC_PERTURB_=$(awk 'BEGIN { srand(); print int(rand() * 32767 %
255 + 1) }')
Or would you prefer using 'date'?
On Tue, Mar 19, 2013 at 10:22 PM, Erik de Castro Lopo
<mle+la at mega-nerd.com>wrote:
> Jesse Weinstein wrote:
>
> > The subject line mostly says it all, but for reference, having #!/bin/sh
> causes