On 3/4/13 11:12 AM, Gotmy Nick wrote:
> On 4 March 2013 14:51, Chet Ramey 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,
On 4 March 2013 14:51, Chet Ramey 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, bu
On 3/3/13 4:40 PM, Gotmy Nick wrote:
> Hello,
>
>Sorry if this has been reported earlier, but I can't find nothing
> related in the archives.
>
> $ help readonly | grep -- '-p'
> readonly: readonly [-aAf] [name[=value] ...] or readonly -p
> -pdisplay a list of
Hello,
Sorry if this has been reported earlier, but I can't find nothing
related in the archives.
$ help readonly | grep -- '-p'
readonly: readonly [-aAf] [name[=value] ...] or readonly -p
-pdisplay a list of all readonly variables and functions
$ echo $B