On Monday 08 May 2006 15:48, Jeff Waugh allegedly wrote:
> Hey,
>
> I just asked a question on #slug and found my answer in an apt-cache search
> mere moments later. Figured it would be handy for others (you lot and
> anyone who finds this in the archives later)...

In zsh,

docommand blah blah1 blah2 &;sleep some_num;kill $\!
(or something close to that)

I'm sure most shells support something like the above. Note, sleep is 
inaccurate.

I'm sure timeout is much nicer then the above, but it did make me wonder about 
package management and how the various distributions deal with merging small 
useful utilities into general utility packages rather then bloating their 
package trees with mountains of tiny packages. (And the problems of grouping 
unrelated utilities and the confusion the could cause between distros).

Not sure why I wrote this now.
Cheers,
Malcolm V.

 -- 
BOFH Excuse #115:

your keyboard's space bar is generating spurious keycodes.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to