As a follow up to my previous question, I reinstalled my MacPorts and want to try its newer version of bash again.
I installed the newest bash via MacPorts on my Mac OS X 10.6.8 system, but when I start a Terminal.app session, the "sh --version" command showed I was still using the old bash 3.2.48. This is even when "which bash" points to the newer 4.2.37 installed by MacPorts.
I tried to change Terminal.app preferences to use the new bash as default, changed /etc/shells, and used the chsh command to specify MacPorts bash as the default. However, none of these methods were successful. What am I missing? Thank you very much.