made the ping module a bit more interesting.

This commit is contained in:
Storm 2016-09-09 09:02:54 -04:00
parent 6580610e29
commit 09f30f88c4

View File

@ -1,2 +1,6 @@
[ -f functions.sh ] && source functions.sh [ -f functions.sh ] && source functions.sh
msg $2 "$1: pong"
pong="${3:-ping}"
pong="${pong//i/o}"
pong="${pong//I/O}"
msg "$2" "$1: $pong"