On 7/30/14, 6:11 PM, Linda Walsh wrote: > If I assigned the read-only bit to an exported var and run a new > shell, that var is still read-only.
No:
$ ./bash ./x24
4.2.47(4)-release
foo = one
foo = two
$ cat ./x24
echo $BASH_VERSION
foo=one
readonly foo
export foo
./bash -c 'echo foo = $foo ; foo=two ; echo foo = $foo'
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
