From fc079255758c2def9948ad376a038b62e473c201 Mon Sep 17 00:00:00 2001 From: Cody Boone Ferguson <53008573+xexyl@users.noreply.github.com> Date: Mon, 18 Mar 2024 11:08:38 -0700 Subject: [PATCH] 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). --- bin/all-run.sh | 10 +++++----- bin/all-years.sh | 10 +++++----- bin/chk-entry.sh | 10 +++++----- bin/gen-authors.sh | 10 +++++----- bin/gen-location.sh | 10 +++++----- bin/gen-other-html.sh | 10 +++++----- bin/gen-sitemap.sh | 10 +++++----- bin/gen-status.sh | 10 +++++----- bin/gen-top-html.sh | 10 +++++----- bin/gen-year-index.sh | 10 +++++----- bin/gen-years.sh | 10 +++++----- bin/md2html.sh | 11 ++++++----- bin/output-index-author.sh | 11 ++++++----- bin/output-index-inventory.sh | 11 ++++++----- bin/output-year-index.sh | 11 ++++++----- bin/pandoc-wrapper.sh | 11 ++++++----- bin/quick-readme2index.sh | 11 ++++++----- bin/readme2index.sh | 11 ++++++----- bin/sort.gitignore.sh | 11 ++++++----- bin/status2html.sh | 11 ++++++----- bin/subst.default.sh | 11 ++++++----- bin/subst.entry-index.sh | 11 ++++++----- bin/subst.year-index.sh | 11 ++++++----- bin/tar-all.sh | 11 ++++++----- bin/tar-entry.sh | 11 ++++++----- bin/tar-year.sh | 11 ++++++----- 26 files changed, 145 insertions(+), 130 deletions(-) diff --git a/bin/all-run.sh b/bin/all-run.sh index 33a8d3cf2..6116e47b8 100755 --- a/bin/all-run.sh +++ b/bin/all-run.sh @@ -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 diff --git a/bin/all-years.sh b/bin/all-years.sh index a14fe384e..c6b89ba98 100755 --- a/bin/all-years.sh +++ b/bin/all-years.sh @@ -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 diff --git a/bin/chk-entry.sh b/bin/chk-entry.sh index e7453d58e..8224b5fc1 100755 --- a/bin/chk-entry.sh +++ b/bin/chk-entry.sh @@ -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 diff --git a/bin/gen-authors.sh b/bin/gen-authors.sh index 85d21f59d..8a092b893 100755 --- a/bin/gen-authors.sh +++ b/bin/gen-authors.sh @@ -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 diff --git a/bin/gen-location.sh b/bin/gen-location.sh index 59d5f3b16..88c10b54e 100755 --- a/bin/gen-location.sh +++ b/bin/gen-location.sh @@ -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 diff --git a/bin/gen-other-html.sh b/bin/gen-other-html.sh index 3a4b5496a..98e619aa5 100755 --- a/bin/gen-other-html.sh +++ b/bin/gen-other-html.sh @@ -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 diff --git a/bin/gen-sitemap.sh b/bin/gen-sitemap.sh index 96b6eafa3..fc3a52295 100755 --- a/bin/gen-sitemap.sh +++ b/bin/gen-sitemap.sh @@ -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 diff --git a/bin/gen-status.sh b/bin/gen-status.sh index 49092178e..3ec016d69 100755 --- a/bin/gen-status.sh +++ b/bin/gen-status.sh @@ -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 diff --git a/bin/gen-top-html.sh b/bin/gen-top-html.sh index 63651b116..7c94f7eab 100755 --- a/bin/gen-top-html.sh +++ b/bin/gen-top-html.sh @@ -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 diff --git a/bin/gen-year-index.sh b/bin/gen-year-index.sh index 848d8f040..102228751 100755 --- a/bin/gen-year-index.sh +++ b/bin/gen-year-index.sh @@ -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 diff --git a/bin/gen-years.sh b/bin/gen-years.sh index bb4d03c93..eefce8470 100755 --- a/bin/gen-years.sh +++ b/bin/gen-years.sh @@ -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 diff --git a/bin/md2html.sh b/bin/md2html.sh index c383bbd1f..cd4dbb502 100755 --- a/bin/md2html.sh +++ b/bin/md2html.sh @@ -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 diff --git a/bin/output-index-author.sh b/bin/output-index-author.sh index 094095c2c..2a02e3a13 100755 --- a/bin/output-index-author.sh +++ b/bin/output-index-author.sh @@ -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 diff --git a/bin/output-index-inventory.sh b/bin/output-index-inventory.sh index 92b8494dd..0d1b22591 100755 --- a/bin/output-index-inventory.sh +++ b/bin/output-index-inventory.sh @@ -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 diff --git a/bin/output-year-index.sh b/bin/output-year-index.sh index 536f87e7b..edf873071 100755 --- a/bin/output-year-index.sh +++ b/bin/output-year-index.sh @@ -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 diff --git a/bin/pandoc-wrapper.sh b/bin/pandoc-wrapper.sh index a38f36d0e..a82e40da9 100755 --- a/bin/pandoc-wrapper.sh +++ b/bin/pandoc-wrapper.sh @@ -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 diff --git a/bin/quick-readme2index.sh b/bin/quick-readme2index.sh index 1de4a0b90..bc239f99b 100755 --- a/bin/quick-readme2index.sh +++ b/bin/quick-readme2index.sh @@ -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 diff --git a/bin/readme2index.sh b/bin/readme2index.sh index dad6bc8b1..ed3cb31c6 100755 --- a/bin/readme2index.sh +++ b/bin/readme2index.sh @@ -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 diff --git a/bin/sort.gitignore.sh b/bin/sort.gitignore.sh index 62e25fee3..ad05a2254 100755 --- a/bin/sort.gitignore.sh +++ b/bin/sort.gitignore.sh @@ -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 diff --git a/bin/status2html.sh b/bin/status2html.sh index 7ffd266ae..03ef26bd4 100755 --- a/bin/status2html.sh +++ b/bin/status2html.sh @@ -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 diff --git a/bin/subst.default.sh b/bin/subst.default.sh index 0aeccbdbd..cc5a1cc37 100755 --- a/bin/subst.default.sh +++ b/bin/subst.default.sh @@ -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 diff --git a/bin/subst.entry-index.sh b/bin/subst.entry-index.sh index 7171af748..9c3d0fa40 100755 --- a/bin/subst.entry-index.sh +++ b/bin/subst.entry-index.sh @@ -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 diff --git a/bin/subst.year-index.sh b/bin/subst.year-index.sh index 21c221e54..2118a9ee3 100755 --- a/bin/subst.year-index.sh +++ b/bin/subst.year-index.sh @@ -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 diff --git a/bin/tar-all.sh b/bin/tar-all.sh index 763bee18e..cecab4768 100755 --- a/bin/tar-all.sh +++ b/bin/tar-all.sh @@ -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 diff --git a/bin/tar-entry.sh b/bin/tar-entry.sh index 78e46faa4..8a1a03c0f 100755 --- a/bin/tar-entry.sh +++ b/bin/tar-entry.sh @@ -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 diff --git a/bin/tar-year.sh b/bin/tar-year.sh index d9f081b24..8bf580507 100755 --- a/bin/tar-year.sh +++ b/bin/tar-year.sh @@ -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