From: nobu.nokada@... Date: 2003-12-18T22:24:54+09:00 Subject: Re: question about I/O and pipes Hi, At Thu, 18 Dec 2003 19:57:08 +0900, Jean-Baptiste wrote: > Now I want to use it whith pipes like this: > dir | count > but i got this error > C:\ruby>dir | count > C:/ruby/count.rb:3:in `each_line': Bad file descriptor (Errno::EBADF) > from Z:/ruby/count.rb:3 > > What is the problem? > (NB: I an working on Windows2000.) See [ruby-talk:84112], http://ruby-talk.com/84112 -- Nobu Nakada