timeout

2008-07-28 Thread Mike
Hi,  I have a question.

Why is the "timeout" command disappearing from recent Linux
distributions?
I am referring to the command that allows a time limit to be set for
another command:

# timeout 10 ftp ...

It is useful to me.

I don't think it is a bash built-in command, but why not?

Thanks,
-Mike


Re: timeout

2008-07-28 Thread Chet Ramey

Mike wrote:

Hi,  I have a question.

Why is the "timeout" command disappearing from recent Linux
distributions?

[...]


I don't think it is a bash built-in command, but why not?


No demand.  It's so trivial to do as a separate command.

Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRU[EMAIL PROTECTED]http://cnswww.cns.cwru.edu/~chet/




Re: timeout

2008-07-28 Thread Eric Blake
Mike  gmail.com> writes:

> 
> Hi,  I have a question.
> 
> Why is the "timeout" command disappearing from recent Linux
> distributions?
> I am referring to the command that allows a time limit to be set for
> another command:
> 
> # timeout 10 ftp ...

You may be interested to know that the next coreutils release (post 6.12, 
currently slated to be named coreutils 7.0) will include a timeout command.  
You can search the bug-coreutils archives for links to snapshots that already 
have this command available to replace the version dropped in your distro.

-- 
Eric Blake