On Tue, Mar 14, 2000 at 09:53:20AM +0100, Akim Demaille wrote:
> >>>>> "John" == John David Anglin <[EMAIL PROTECTED]> writes:
> 
> John> The following patch adds LINENO and RANDOM to shell variables
> John> that change in actest.m4.
> 
> Thanks, applied.  Next time, please, include a ChangeLog.
> 
> What shell changes RANDOM?  Bash and zsh both support it, but it
> changes only when read (and fortunately `set' does not read the vars :).

/bin/sh under IRIX 6.5

# njoly@claudel [~]> cat foo.sh 
#! /bin/sh

set > foo1
set > foo2

diff foo1 foo2
# njoly@claudel [~]> /bin/sh foo.sh 
12c12
< LINENO=3
---
> LINENO=4
30c30
< RANDOM=3965
---
> RANDOM=25162
41c41
< _=/bin/sh
---
> _=set


-- 
Nicolas Joly

Informatique Scientifique
Institut Pasteur, Paris.

Reply via email to