bash @VERSION@ for Mac OS X 10.4 Tiger (@ARCHNAME@)

GNU bash @VERSION@ (bash 5.3 with its official patches, up to the 20th),
@IF ppc@
built for Mac OS X 10.4 on PowerPC Macs: G3, G4 and G5. It installs beside
@END@
@IF i386@
built for Mac OS X 10.4 on Intel Macs. (Another package is for PowerPC Macs:
G3, G4 and G5.) It installs beside
@END@
Tiger's own bash and leaves that one as it is:

  /usr/local/bin/bash
      bash @VERSION@
  /usr/local/share/man/man1/bash.1
      its manual page
  /usr/local/share/bash-tiger
      this Read Me and the license

Tiger's /bin/bash and /bin/sh stay bash 2.05b. Mac OS X runs its own scripts
with /bin/sh (at startup, in installers, in the periodic jobs), and they are
written for that one; nothing here changes them. The installer adds
/usr/local/bin/bash to /etc/shells, the list of shells an account may log in
with, and changes no one's login shell.

Using it

To try it, type /usr/local/bin/bash in Terminal. To make it your login shell,
type this in Terminal, then your password:

  chsh -s /usr/local/bin/bash

New Terminal windows and ssh logins then start bash @VERSION@, and it reads
your ~/.bash_profile and ~/.bashrc as Tiger's bash did. To go back:

  chsh -s /bin/bash

Keep it installed while it is your login shell: without /usr/local/bin/bash,
Terminal and ssh could not start a shell for you. Should that happen, choose
"Execute this command" in Terminal's Preferences, type /bin/bash there, open
a new window and run chsh -s /bin/bash.

What is new to Tiger

Since bash 2.05b: set -o pipefail, [[ =~ ]] with regular expressions,
associative arrays (declare -A), += for strings and arrays, ** in globs
(shopt -s globstar), ${var,,} and ${var^^}, mapfile, |&, coproc,
$EPOCHSECONDS and $SRANDOM, and much else (the manual page, or the NEWS file
in the source). Git's completion for bash, which needs bash 3.1, works with it.

Line editing is bash's own copy of GNU Readline 8.3, which reads the terminal
from Tiger's terminfo. Not in it: translations, the loadable builtins and
bashbug, which mails a report.

The manual page: man bash shows this one when /usr/local/bin comes before
/usr/bin in your PATH, and Tiger's otherwise. man
/usr/local/share/man/man1/bash.1 always shows this one.

Uninstalling

If it is your login shell, first run chsh -s /bin/bash. Then, in Terminal:

  sudo rm /usr/local/bin/bash
  sudo rm /usr/local/share/man/man1/bash.1
  sudo rm -rf /usr/local/share/bash-tiger
  sudo rm -rf "/Library/Receipts/@PKGNAME@.pkg"

and take the line /usr/local/bin/bash out of /etc/shells.

How it was made

@IF ppc@
bash was cross-compiled on Linux with GCC 13.4 for powerpc-apple-darwin8,
against the Mac OS X 10.4u SDK, for any G3 and up. The questions bash's
configure asks of the system by running small programs were answered by
running it on Mac OS X 10.4.11 itself. One small patch makes bash's own
unsetenv() match the one Tiger declares. It loads only Tiger's own libraries
(libSystem, libiconv, libncurses). The package and this disk image were made
on Mac OS X 10.4.11 with its own mkbom, pax and hdiutil.
@END@
@IF i386@
bash was cross-compiled on Linux with GCC 13.4 for i686-apple-darwin8,
against the Mac OS X 10.4u SDK, for any Intel Mac (SSE3). The questions
bash's configure asks of the system by running small programs were answered
by running it on Mac OS X 10.4.11 itself, on PowerPC and on Intel. One small
patch makes bash's own unsetenv() match the one Tiger declares. It loads only
Tiger's own libraries (libSystem, libiconv, libncurses). The package and this
disk image were made on Mac OS X 10.4.11 with its own mkbom, pax and hdiutil.
@END@

Everything it was built from (bash's source, its official patches, this
build's patch and scripts) is in bash-@VERSION@-tiger-source.tar.gz, beside
this disk image.

Built @DATE@.
