Hi all Is there any standard way to do or mimic this shell construction in ruby someprog << STOP file1.dat file2.dat 30 STOP Regards, //Mike