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
>     unset f
> 
> ...while this sequence fails during the unset phase with the complaint
> that the name is not a valid identifier:
> 
>     function f.dot() { echo $FUNCNAME ; }
>     f.dot
>     unset f.dot

Try 

unset -f f.dot

Reply via email to