Public bug reported:
I have Bash functions defined with punctuation-only names, such as - and
.., which now give errors when starting nested shells.
After a recent Shellshock patch, env shows these functions as having
names like BASH_FUNC_-(), and starting a second Bash in some way, such
as running a shell script, yields error messages like:
bash: error importing function definition for `BASH_FUNC_-'
With a double-nested Bash, each error message is displayed twice.
So far as I can tell the error message is spurious: the action function
- is being imported correctly. But it's irritating to have the terminal
clogged up with these messages, especially when just running utilities
which I didn't even know were written in Bash.
This is with bash 4.3-7ubuntu1.4.
** Affects: bash (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1376688
Title:
Punctuation-only functions give error messages in subshells
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1376688/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs