Created
April 30, 2021 13:58
-
-
Save pzskc383/e50633cc6ce8a1b6ee075e1fe36e8479 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
#!env bash | |
func1() { | |
echo func1 called with "$@" | |
} | |
func2() { | |
echo $(date '+%s') "$@" | |
} | |
while true | |
do | |
func1 $(func2 cocks) || exit 1 | |
sleep 2 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment