Re: functions can be created with dotted name but not removed

2009-12-04 Thread Chet Ramey
Michael O'Donnell wrote: > Bash Version: 4.0 > Patch Level: 28 > Release Status: release > > Description: > > A bash function with a dot in its name can be created and used with no > problems but cannot be removed - the "unset" command chokes on the name. It's true -- the shell allows you to de

Re: functions can be created with dotted name but not removed

2009-12-04 Thread DennisW
On Dec 4, 9:25 am, "Michael O'Donnell" wrote: > 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' > -DC

Re: functions can be created with dotted name but not removed

2009-12-04 Thread pk
Michael O'Donnell wrote: > A bash function with a dot in its name can be created and used with no > problems but cannot be removed - the "unset" command chokes on the name. > > > Repeat-By: > > This sequence yields the expected results: > > function f() { echo $FUNCNAME ; } > f > u

functions can be created with dotted name but not removed

2009-12-04 Thread Michael O'Donnell
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_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='

functions can be created with dotted name but not removed

2009-12-04 Thread Michael O'Donnell
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_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='