Sign inSign up

fidian/multishell-apple-bash

By fidian

Updated about 5 years ago

Every version of Apple's Bash for testing shell scripts.

Image
0

5.4K

fidian/multishell-apple-bash repository overview

Contains every version of Apple's Bash that's shipped with macOS / Mac OS. They started with shipping a slightly modified version of Bash 2.x, but switched to Bash 3.x later. Bash 4.x was not adopted due to licensing concerns.

These shells, and many others, are included within the Multishell Docker Image. The additional scripts that are included on this image will be described there.

All of the shells are located in /usr/local/bin and have the build number from Apple as their version number. There are symlinks set up to get the most recent release when there are multiple dot releases.

apple-bash-23
apple-bash-25
apple-bash-29
apple-bash-30
apple-bash-44 -> apple-bash-44.5
apple-bash-44.2
apple-bash-44.3
apple-bash-44.4
apple-bash-44.5
apple-bash-76 -> apple-bash-76.2
apple-bash-76.1
apple-bash-76.2
apple-bash-80
apple-bash-84
apple-bash-84.1 -> apple-bash-84.1.2
apple-bash-84.1.2
apple-bash-86 -> apple-bash-86.1.2
apple-bash-86.1
apple-bash-86.1.2
apple-bash-92
apple-bash-92.1 -> apple-bash-92.1.2
apple-bash-92.1.2
apple-bash-94 -> apple-bash-94.1.2
apple-bash-94.1 -> apple-bash-94.1.2
apple-bash-94.1.2
apple-bash-97
apple-bash-99
apple-bash-103
apple-bash-103.50 -> apple-bash-103.50.1
apple-bash-103.50.1
apple-bash-106
apple-bash-106.201 -> apple-bash-106.201.1
apple-bash-106.201.1
apple-bash-106.220 -> apple-bash-106.220.2
apple-bash-106.220.2
apple-bash-118 -> apple-bash-118.40.2
apple-bash-118.11 -> apple-bash-118.11.1
apple-bash-118.11.1
apple-bash-118.40 -> apple-bash-118.40.2
apple-bash-118.40.2
apple-bash-123 -> apple-bash-123.40.1
apple-bash-123.40 -> apple-bash-123.40.1
apple-bash-123.40.1

You can generate this list yourself using this command:

( cd /usr/local/bin; for F in *; do if [[ -L "$F" ]]; then echo "$F -> $(readlink "$F")"; else echo "$F"; fi; done ) | sort -V

Source: https://opensource.apple.com/tarballs/bash/

Git repository containing all source code and patches that were used to build the binaries: https://github.com/multishell/apple-bash

Meant to be built using the these tools: https://github.com/multishell/multishell-scripts

Tag summary

Content type

Image

Digest

Size

38.8 MB

Last updated

about 5 years ago

docker pull fidian/multishell-apple-bash