I think (some versions of?) bash are averse to using a dash (minus sign) in the identifier.
Coincidentally, see also http://bugs.debian.org/cgi- bin/bugreport.cgi?bug=441041 Here's my Gutsy: vnix$ _moo () { echo moo ; } vnix$ _moo-bar () { echo moo-bar ; } vnix$ _moo moo vnix$ _moo-bar moo-bar vnix$ unset _moo vnix$ unset _moo-bar -bash: unset: `_moo-bar': not a valid identifier vnix$ unset -f _moo-bar -- `_apt-file': not a valid identifier https://bugs.launchpad.net/bugs/173057 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs