2014-02-20 02:35:36 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2014-11-07 18:32:18 +00:00
|
|
|
if [ "$1" = "" ]
|
2014-02-20 02:35:36 +00:00
|
|
|
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
|