Last active
November 6, 2023 17:29
-
-
Save abronte/f4dacbe5f703f3816524f73455370c6e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
shopt -s extglob | |
set -o errtrace | |
set -o errexit | |
set -o pipefail | |
echo "running script" | |
while read line | |
do | |
echo "from script: $line" | |
done < "${1:-/dev/stdin}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment