Skip to content

Instantly share code, notes, and snippets.

@pzskc383
Created April 30, 2021 13:58
Show Gist options
  • Save pzskc383/e50633cc6ce8a1b6ee075e1fe36e8479 to your computer and use it in GitHub Desktop.
Save pzskc383/e50633cc6ce8a1b6ee075e1fe36e8479 to your computer and use it in GitHub Desktop.
#!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