D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Time Warpz



On Fri, 2002-08-23 at 14:05, paul wrote:

echo sleep for 10 seconds
echo sleep 10
echo 10 second elapsed.

not sure if you can have a beep with shell scripts,  but I guess the shell
sleep command uses the unix clock where as say perl equivilent uses the
interpreter, or something

try echo -e "\007"

Although if you're looking for accuracy you want to remember that sleep
doesn't seem to be a shell builtin and therefore will take time to
start.   Maybe do it in C? or assembler? :)

Alex.



--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly