#!/usr/bin/env bash set -o errexit -o nounset -o pipefail NAME="$1" NAME_UPPER="$(echo $NAME | tr '[a-z]' '[A-Z]')" shift cat < 0)); do if [[ "$1" =~ .*.sha256 ]]; then base=$(basename $1) base="${base/"$NAME-"/}" base="${base/".sha256"/}" base="${base/".exe"/}" cat <