Red Hat Bugzilla – Bug 245641
[RHEL5 Doc]: Certain bash commands have differing behavior when run as "sh" vs. "bash"
Last modified: 2010-10-22 11:52:27 EDT
Description of problem:
The behavior of certain builtin bash commands (including eval, exec, set, unset,
export, readonly, source, and trap) differ when operating either in "sh" mode,
or "posix" mode (I think they are the same thing, but I'm not 100% sure). This
is a request to document those differences; for example, if in "sh" mode,
"export" with an invalid option will abort the script instead of continuing on.
I will upload a preliminary version of the documentation from the customer; it
doesn't document the differences in any real detail, but might be a starting point.
Created attachment 157808 [details]
Example bash man page update
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.