Re: difference between "readonly" and "declare -r"

2010-10-13 Thread Andreas Schwab
Cristian Zoicas 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, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 2

difference between "readonly" and "declare -r"

2010-10-13 Thread Cristian Zoicas
BEGIN CONFIGURATION 1: Debian GNU/Linux 5.0 Configuration Information [Automatically generated, do not change]: Machine: i486 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu' -DCONF_VEND