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 | |
# | |
# run_and_wait.sh | |
# | |
# Description: | |
# This script will run a specified command and will wait until a | |
# specified pattern is found in the specified log file or until | |
# a specified time out period expires. | |
# | |
# Returns 0 if pattern found within time out period and 1 otherwise. |