From: Gour Date: 2003-03-20T02:38:01+09:00 Subject: Mystery with ARGF Hi! In last few days I was trying to resolve soem issue with the script from Ruby/Glade bindings supposed to read *.glade interface file. Since I was getting very strange error, Masao M. finally rewrote the script to use ARGV isntead of ARGF. However, the mystery remains. If I run the 1 line script below (filename as test.rb). $ cat test.rb p ARGF $ ruby test.rb test.rb test.rb instead of "test.rb", I get "-" (minus sign). Can somebody explain me why the usage of ARGF does not work ex expected (to give command line argument back)? Sincerely, Gour -- Gour gour@mail.inet.hr Registered Linux User #278493