← Back to team overview

touch-packages team mailing list archive

[Bug 1376688] Re: Punctuation-only functions give error messages in subshells

 

Intentional temporary regression: http://lists.gnu.org/archive/html/bug-
bash/2014-09/msg00256.html

Sounds like an upstream fix will be forthcoming.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1376688

Title:
  Punctuation-only functions give error messages in subshells

Status in “bash” package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1376688/+subscriptions


References