Created
December 9, 2023 23:45
-
-
Save b0o/17ee3aeee33b92bc118d8639a5a31fce to your computer and use it in GitHub Desktop.
This file contains 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 | |
if [[ ${1:-} == "--inner" ]]; then | |
echo "Inner" | |
exit 0 | |
fi | |
echo "Outer" | |
echo "${BASH_SOURCE[0]}" | entr "${BASH_SOURCE[0]}" --inner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment