Updates functions to add setInterval analogue

This commit is contained in:
William Carroll 2016-06-21 09:59:34 -04:00
parent 636347304d
commit f5706af337

View file

@ -30,3 +30,7 @@ function slice {
echo $RES1
}
function setInterval {
eval "while true; do $1; sleep $2; done"
}