Typo fix and improve brew instructions in bin/
In particular the notice for macOS users now tells how to install bash with Homebrew (brew install bash).
This commit is contained in:
1 parent
4471875497
commit
fc07925575
26 files changed
+145
-130
No files matched your search
+5
-5
@@ -68,7 +68,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -77,11 +77,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -91,7 +91,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -67,7 +67,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -76,11 +76,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -90,7 +90,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -43,7 +43,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -52,11 +52,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -66,7 +66,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -50,11 +50,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -64,7 +64,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+5
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,11 +48,11 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
@@ -62,7 +62,7 @@ if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -91,7 +91,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -100,21 +100,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -54,21 +54,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -54,21 +54,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -55,21 +55,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -55,21 +55,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -57,21 +57,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -42,7 +42,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -51,21 +51,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -63,21 +63,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -43,7 +43,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -52,21 +52,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -57,21 +57,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -57,21 +57,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -57,21 +57,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,21 +48,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,21 +48,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
+6
-5
@@ -39,7 +39,7 @@
|
||||
# often use it "version 5.2.26(1)-release" or later, and the RHEL Linux bash we
|
||||
# use often use is "version 5.1.8(1)-release" or later. These versions are what
|
||||
# we initially tested. We recommend you either upgrade bash or install a newer
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a basj
|
||||
# version of bash and adjust your $PATH so that "/usr/bin/env bash" finds a bash
|
||||
# that is version 5.1.8 or later.
|
||||
#
|
||||
# NOTE: The macOS shipped, as of 2024 March 15, a version of bash is something like
|
||||
@@ -48,21 +48,22 @@
|
||||
# (see https://brew.sh), and then install homebrew bash (/opt/homebrew/bin/bash),
|
||||
# and then arrange your $PATH so that "/opt/homebrew/bin" is ahead of "/bin".
|
||||
#
|
||||
# NOTE: And while macports might work, we noticed a number of subtle differences
|
||||
# NOTE: And while MacPorts might work, we noticed a number of subtle differences
|
||||
# with some of their ported tools to suggest you might be better off
|
||||
# with installing homebrew (see https://brew.sh). No disrespect is intended
|
||||
# to the macports team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with macports environments to suggest you
|
||||
# to the MacPorts team as they do a commendable job. Nevertheless we ran
|
||||
# into enough differences with MacPorts environments to suggest you
|
||||
# might find a better experience with this tool under homebrew instead.
|
||||
#
|
||||
if [[ -z ${BASH_VERSINFO[0]} ||
|
||||
${BASH_VERSINFO[0]} -lt 5 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -lt 1 ||
|
||||
${BASH_VERSINFO[0]} -eq 5 && ${BASH_VERSINFO[1]} -eq 1 && ${BASH_VERSINFO[2]} -lt 8 ]]; then
|
||||
|
||||
echo "$0: ERROR: bash version needs to be >= 5.1.8: $BASH_VERSION" 1>&2
|
||||
echo "$0: Warning: bash version >= 4.2 might work but 5.1.8 was the minimum we tested" 1>&2
|
||||
echo "$0: Notice: For macOS users: install homebrew (see https://brew.sh)," \
|
||||
"then install homebrew bash, and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"then install homebrew bash (brew install bash), and then modify your \$PATH so that \"#!/usr/bin/env bash\"" \
|
||||
"finds the homebrew installed (usually /opt/homebrew/bin/bash) version of bash" 1>&2
|
||||
exit 4
|
||||
fi
|
||||
|
||||
Reference in new issue
Block a user