Jaren Stangret wrote:
> 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'?
Your's is probably better and this is probably an improvement:
awk 'BEGIN { srand(); print int(rand() * 255 + 1) }'
Awk's rand seems to be seeded by the current epoch seconds, but in this
case that doesn't matter.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
_______________________________________________
flac-dev mailing list
[email protected]
http://lists.xiph.org/mailman/listinfo/flac-dev