made the ping module a bit more interesting.
This commit is contained in:
parent
6580610e29
commit
09f30f88c4
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user