Bug#344783: bash3: the random number generator seems to be reseeded when a subshell is created

2024-03-25 Thread Gioele Barabucci
Control: tags -1 wontfix On Mon, 26 Dec 2005 09:39:07 + mr_platelet+m689 wrote: I would expect the following command to always give the same output, because I seed RANDOM at the outset: bash3 -c 'RANDOM=1; set -x; true $RANDOM; true $RANDOM | true $RANDOM' What I find in practise,

Bug#344783: bash3: the random number generator seems to be reseeded when a subshell is created

2005-12-26 Thread mr_platelet+m689
Package: bash3 Version: 3.0-12 Severity: normal I would expect the following command to always give the same output, because I seed RANDOM at the outset: bash3 -c 'RANDOM=1; set -x; true $RANDOM; true $RANDOM | true $RANDOM' What I find in practise, however, is that, although the first line