Renald Buter <buter / CWTS.LeidenUniv.nl> writes: > is there a standard 'stdin' and/or 'stdout' "name", e.g. the '-' in perl? I > see a reference to something like it when using "Kernel.open('|-')" --- but > this seems to be the only/special case? You can use STDIN, STDERR, and STDOUT as file objects connected to the respective underlying streams. You can also read from ARGF, which is the concatenated input stream formed by all the files specified on the program's command line, or stdin if none were specified. Thus ARGF.each do |line| end is roughly equivalent to Perl's while (<>) { $line = $_; } Regards Dave