From: Wybo Dekker Date: 2005-06-24T05:09:59+09:00 Subject: reading binary from STDIN in windows Windows again -( How can I read a binary file from STDIN? For example, in linux I can copy some.pdf to test.pdf: ruby -e 'i=STDIN.read; open("test.pdf","w").write(i)'