khanat-opennel-code/code/ryzom/server/patchman_cfg/admin_install/patchman/loop_special_patchman.sh

20 lines
275 B
Bash
Raw Normal View History

2014-02-20 02:35:36 +00:00
#!/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