Created
August 4, 2014 22:14
-
-
Save rcsheets/a5c93454bf4e4f79626d 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
if test -z "$1" | |
then | |
echo "No remote server specified" | |
else | |
if test -t 0 | |
then | |
# do something interactive? | |
else | |
# do something noninteractive? | |
fi | |
fi | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment