khanat-opennel-code/code/ryzom/server/patchman_cfg/admin_install/patchman/loop_special_patchman.sh
2014-08-19 01:57:20 +02:00

19 lines
275 B
Bash

#!/bin/sh
if [ "$1" == "" ]
then
echo
echo USAGE: $0 command_line
echo
echo example:
echo $0 echo hello world
echo displays 'hello world' repeatedly, delaying 3 seconds between repeats
echo
exit
fi
while true
do
sleep 3
eval $*
done