From: Shashank Date Date: 2002-07-23T02:45:02+09:00 Subject: piping into ruby at command line 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 TIA, -- Shanko