Re: $RANDOM never returns 0 in some conditions

2005-03-06 Thread Chet Ramey
zavandi wrote: Some additional info: [...] Is anyone looking into this? It's already been reported: http://lists.gnu.org/archive/html/bug-bash/2005-01/msg00188.html and already been fixed: http://lists.gnu.org/archive/html/bug-bash/2005-01/msg00239.html Chet -- ``The lyf so short, the craft so lon

Re: $RANDOM never returns 0 in some conditions

2005-03-05 Thread zavandi
ed Feb > 9 23:06:42 EST 2005 i686 athlon i386 GNU/Linux > Machine Type: i386-redhat-linux-gnu > > Bash Version: 3.0 > Patch Level: 14 > Release Status: release > > Description: > Seems like $RANDOM never returns 0 in some conditions. "some > condition

$RANDOM never returns 0 in some conditions

2005-03-02 Thread zavandi
23:06:42 EST 2005 i686 athlon i386 GNU/Linux Machine Type: i386-redhat-linux-gnu Bash Version: 3.0 Patch Level: 14 Release Status: release Description: Seems like $RANDOM never returns 0 in some conditions. "some conditions" seem to be related to $RANDOM being executed in a subsh