[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Minor problems with bash-3.2-33.el5_11.4
From: |
Tajthy, Tamas |
Subject: |
Minor problems with bash-3.2-33.el5_11.4 |
Date: |
Mon, 6 Oct 2014 10:04:54 +0200 |
Hi,
I have a minor issue with the newest bash-3.2-33.el5_11.4 (RedHat) package.
Same happens on Debian Wheezy (unfortunately I do not know that version number
now).
I usually define in my .bash_profile some functions called "..", "...", "...."
and so on. After the latest package was installed I continuously get error
messages shown above when I start a (sub-)bash from the login bash:
bash: error importing function definition for `BASH_FUNC_..'
bash: error importing function definition for `BASH_FUNC_...'
bash: error importing function definition for `BASH_FUNC_....'
etc... And these functions cannot be used in the child bash. But no problem is
shown when bash is a login shell (called as "bash -l") and the definition is
read from the .bash_profile.
My bash function family is defined in my .bash_profile similar to bellow lines
.. (){ command cd ../"$1";}
... (){ command cd ../../"$1";}
.... (){ command cd ../../../"$1";}
export -f .. ... ....
In all previous versions this worked well, so I could go to the parent
directory typing ".." instead of "cd ..".
Is it by design or just an unforeseen side effect of the bug fix?
*** Version number of Bash:
$ bash --version
GNU bash, version 3.2.25(1)-release (i686-redhat-linux-gnu)
$ rpm -qa|grep bash
bash-3.2-33.el5_11.4
*** The hardware and operating system:
$ cat /proc/cpuinfo
...
model name : Intel(R) Xeon(R) CPU X5650 @ 2.67GHz
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.6 (Tikanga)
*** The compiler used to compile Bash:
???
*** A description of the bug behavior:
See above description
*** A short script or 'recipe' which exercises the bug and may be used to
reproduce it:
$ ,,() { echo TEST;}
$ export -f ,,
$ ,,
TEST
$ bash
bash: error importing function definition for `BASH_FUNC_,,
$ ,,
bash: ,,: command not found
Thank You in advance!
Kind regards,
Tamás Tajthy
________________________________
This email message and any attachments are for the sole use of the intended
recipients and may contain proprietary and/or confidential information which
may be privileged or otherwise protected from disclosure. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not an
intended recipient, please contact the sender by reply email and destroy the
original message and any copies of the message as well as any attachments to
the original message. Local registered entity information:
http://www.msci.com/legal/local_registered_entities.html
- Minor problems with bash-3.2-33.el5_11.4,
Tajthy, Tamas <=