On 12/3/18 11:31 AM, Ole Tange wrote: > On Mon, Dec 3, 2018 at 3:56 PM Chet Ramey <chet.ra...@case.edu> wrote: > >> There has to be a compelling reason to change this, especially at a point >> so close to a major release. > > The reason for my submission was that I needed a bunch of random > numbers in a shell script, but I needed them to be high quality. > Luckily I did not just assume that Bash delivers high quality random > numbers, but I read the source code, and then found that the quality > was low. I do not think must users would do that.
This is always requirements-driven. Nobody expects to get cryptographic- quality PRNGs out of the shell (or any of the libc interfaces, tbh), and that's never been promised or expected. You can't really expect that from something that only promises 16 bits. However, for common scripting tasks like generating temporary filenames, it's perfectly adequate. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/