Applied patch from Jamie Briggs for bash2 conformance.