From: Joel VanderWerf Date: 2002-08-25T16:30:10+09:00 Subject: DATA.pos different, but why? This program behaves differently when piped to ruby and when redirected to ruby. Is this something I don't understand about unix, something I don't understand about ruby, or a bug? ======t.rb======== p $0 p DATA.pos __END__ this is some data. ================== $ cat t.rb | ruby "-" -1 $ ruby