Jim Freeze wrote: > On 9/12/05, Morgan <taria / the-arc.net> wrote: > > *never even -seen- ARGF before* > > ARGF is a reference to $stdin. > > -- > Jim Freeze An object providing access to virtual concatenation of files passed as command-line arguments or standard input if there are no command-line arguments. -- Ruby in a Nutshell ARGF is no more esoteric than ARGV, and it's quite handy. Let's say you want to process every line of every file on the command-line: ruby -e 'ARGF.each_line{|x| p x}' file1 file2 file3