On 3/4/13 11:12 AM, Gotmy Nick wrote: > On 4 March 2013 14:51, Chet Ramey <chet.ra...@case.edu> wrote: >> >> This isn't accurate. Run the following script: >> >> foo() >> { >> echo foo >> } >> bar=quux >> >> readonly foo >> readonly bar >> >> readonly >> >> In addition to the built-in bash readonly variables, both bar and foo will >> be listed. > > Maybe I'm wrong, but this is creating a variable "foo" which is empty.
Yes, you're correct. My fault. I'll take another look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/