You know what would REALLY be scary..... a program like this:

# timed 15 read -p "My prompt: "

Execute "read -p ..." and abort it if it doesn't finish in 15 secs.

# timed 20 cp /tmp/file1 /tmp/file2  # --think REALLY BIG files

Execute "cp ...." and abort if the process takes over 20 secs.

What do you think?  Is this even possible?  I suppose it would be, 
but a C program would be easier to do this in, right?

Would this be useful?

-- 
David Douthitt
UNIX Systems Administrator
HP-UX, Linux, Unixware
[EMAIL PROTECTED]

_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to