Am 12.02.2014 18:41, schrieb Wayne Brisette:
> input_file_name = ARGV[0]
> output_file_name = ARGV[1]

Note that this does not correspond to the OP's intended usage
of the script, though:

>> ruby filename.rb inputfile.txt > outputfile.txt

which expects one argument only and pipes the output to a file.

Regards,
Marcus


-- 
GitHub: https://github.com/stomar/
PGP:    0x6B3A101A