Package: bash
Version: 3.1-5
Severity: normal
Declaring and using functions with dashes in their names works,
but they cannot be listed with 'declare -f':
$ foo-bar () { echo foo bar; }
$ foo-bar
foo bar
$ declare -f foo-bar
bash: declare: `foo-bar': not a valid identifier
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages bash depends on:
ii base-files 3.1.16 Debian base system miscellaneous f
ii debianutils 2.17.1 Miscellaneous utilities specific t
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libncurses5 5.5-3 Shared libraries for terminal hand
bash recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]