This is more or less recommended as a portability standard. All BSD and Linux distros use this, as do quite a few other *nix systems.
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
# Compare 2 version strings.
#
# The Unofficial "Bash Strict Mode".