Forum: Ruby Re: ruby tail

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
555c1193071e97926fa67c038244c047?d=identicon&s=25 Phy Prabab (Guest)
on 2007-02-22 11:20
(Received via mailing list)
Wow thats really cool!!!

----- Original Message ----
From: Alex Young <>
To: ruby-talk ML <>
Sent: Thursday, February 22, 2007 1:59:39 AM
Subject: Re: ruby tail

Kevin Jackson wrote:
> offer a solution - perhaps using threads or something
Use IO.popen:

IO.popen('tail -f sim.out'){|f|
    while line = f.gets
        p line

This topic is locked and can not be replied to.