From: ts Date: 2002-08-11T22:20:39+09:00 Subject: Re: empty file returns nil not empty string? >>>>> "T" == =?iso-8859-1?Q?Thomas S=F8ndergaard?= writes: T> In ruby-1.6.7 reading an empty file returns an empty string before returning T> nil. 1.7.2 doesn't do that - why? Can you give an example ? pigeon% ls -al aa -rw-r--r-- 1 ts ts 0 Aug 11 15:06 aa pigeon% pigeon% ruby -ve 'a = File.open("aa"); while b = a.gets; p b; end' ruby 1.6.7 (2002-03-01) [i686-linux] pigeon% Guy Decoux