From: Dossy Date: 2002-07-23T02:56:36+09:00 Subject: Re: piping into ruby at command line On 2002.07.23, Shashank Date wrote: > How do I make something like this work ? > > % cat junk.txt | ruby -e "puts $_" > > I cannot seem to make ruby accept std input when it is in a "pipe" mode at > command line. > > I am using cygwin Ruby 1.6.7 $ cat >junk.txt <