re-directing 'rup' to a file

Bill Heiser bill at unixland.uucp
Tue Mar 5 11:48:21 AEST 1991


I have a user that wants to get a list of hosts on the network
that respond with n seconds.  I have a "timeout" program that someone
on the net sent me -- it times out if a command doesn't complete 
within a certain number of seconds -- and aborts the command.

Anyway, he is trying to do something like 
   timeout 10 rup > rup.list

When the timeout occurs, though, there is nothing in rup.list!

The same thing happens if I type 'rup > rup.lis' and control-c
out of it after some time period.

Is it something to do with buffering of output?

How can I make whatever output occurs within seconds go to the file?

Thanks!

-- 
home:	...!{uunet,bloom-beacon,esegue}!world!unixland!bill
	bill at unixland.uucp              The Think_Tank BBS & Public Access Unix
508-655-3848 (2400)   508-651-8723 (9600-HST)   508-651-8733 (9600-PEP-V32)
other:	heiser at world.std.com



More information about the Comp.unix.questions mailing list