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 | |
function aboutMe() { | |
printf "\n\t%s, ver %s" "${scriptName}" "${scriptVersion}" | |
printf "\n\tTries to acces the supplied IP or FQDN via several methods." | |
printf "\n\tDoesn't care about IPv6." | |
printf "\n\n\tExample:" | |
printf "\n\t\t%s %s example.com%s" "${scriptFile}" "${Emphasize}" "${ColorOff}" | |
printf "\n\t\t%s %s example.com example.org%s" "${scriptFile}" "${Emphasize}" "${ColorOff}" | |
printf "\n\n\tAlso has a built-in retry timer, using -r! (Note: only way to get out is killing the terminal)" |
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
function section() { | |
sed -n "/${*}/,/^$/p" | |
} |
OlderNewer