bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: documentation... readonly help is not accurate


From: Chet Ramey
Subject: Re: documentation... readonly help is not accurate
Date: Tue, 05 Mar 2013 17:09:06 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130216 Thunderbird/17.0.3

On 3/4/13 11:12 AM, Gotmy Nick wrote:
> On 4 March 2013 14:51, Chet Ramey <chet.ramey@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    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]