Re: unset strangely rejects certain function names eg fu~

2007-12-12 Thread Andreas Schwab
[EMAIL PROTECTED] writes: > Repeat-By: > $ function fun(){ echo running fun;} > $ function fu~(){ echo running fu~;} > $ fun > running fun > $ fu~ > running fu~ > $ unset fun > $ unset fu~ > bash: unset: `fu~': not

Re: unset strangely rejects certain function names eg fu~

2007-12-12 Thread Paul Jarc
[EMAIL PROTECTED] wrote: > $ unset fu~ > bash: unset: `fu~': not a valid identifier You can use "unset -f" to unset a function whose name doesn't fit the rules for variable names. paul

Re: unset strangely rejects certain function names eg fu~

2007-12-12 Thread Bob Proulx
> unset strangely rejects certain function names eg fu~ > $ function fun(){ echo running fun;} > $ function fu~(){ echo running fu~;} > $ fun > running fun > $ fu~ > running fu~ > $ unset fu

unset strangely rejects certain function names eg fu~

2007-12-12 Thread root
=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables uname output: Linux trixbox1.local 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 EDT 2007 i686 i686 i386 GNU/Linux Machine Type: i686-redhat-linux-gnu Bash Version: 3.1 Patch Level: 17 Release Status: release Description: