Does Darwin/MacOS modify Bash?
I'm wondering about the portability of Bash scripts that use Bash built-in commands. I understand that each flavor of UNIX tends to modify various UNIX utilities. But do they tend to leave Bash and Bash built-ins alone? What about MacOS in particular? As far as I know, bash is unmodified on Mac OS X (aside from minor tweaks required to make it compile; you can review the source on http://opensource.apple.com/ ), and scripts should be quite portable. As Graham Lee & Gordon Davisson point out, Mac OS X ships with older versions and there are differences between supported versions. Bash 4 has