Re: unset builtin behaves differently from bash manual

2011-05-29 Thread Chet Ramey
On 5/27/11 10:15 AM, Mu Qiao wrote: > Bash Version: 4.1 > Patch Level: 9 > Release Status: release > > Description: > We haven't checked bash-4.0 but for bash-4.1 and later, without > options, unset first tries to unset a variable, and if that fails, tries > to unset a function. However, The ma

unset builtin behaves differently from bash manual

2011-05-29 Thread Mu Qiao
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/sha