[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: difference between "readonly" and "declare -r"
From: |
Andreas Schwab |
Subject: |
Re: difference between "readonly" and "declare -r" |
Date: |
Wed, 13 Oct 2010 17:02:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Cristian Zoicas <cristian.zoicas@gmail.com> writes:
> a) "readonly" and "declare -r" do not behave the same way;
When used in a function, `declare' makes NAMEs local, as with the `local'
command.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."