From: Daniel Berger Date: 2003-11-11T05:48:58+09:00 Subject: IO.readlines bug? (1.6.8 vs 1.8.1) Hi all, Ruby 1.6.8 (32 bit) / 1.8.1 (64 bit) on Solaris 9 If I have a file with a single line of data in it, but no newline, I get different return values: Let's say foo.pid contains "12345" (no newline). > VERSION => "1.6.8" irb(main):002:0> IO.readlines("foo.pid") => ["12345"] irb(main):001:0> VERSION => "1.8.1" irb(main):002:0> IO.readlines("foo.pid") => [] This a bug? Regards, Dan