From: Nikodemus Siivola Date: 2002-12-06T09:59:42+09:00 Subject: Re: Best way to read data? On Fri, 6 Dec 2002, Bill Kelly wrote: > > C:\tmp>2.rb < "data.dat" > > C:\tmp\2.rb:1:in `gets': Bad file descriptor (Errno::EBADF) > > from C:\tmp\2.rb:1 Maybe you should try without the doule-quotes, unless the filename has them... Like so: 2.rb < data.dat -- Nikodemus