I have a simple txt parsing script that I'd like to have the output be
named after the original text file.

original = original.txt
output = original_output.txt

I'm just doing a simple file.open, and couldn't find anything.

File.open('output.txt', 'w') do |f2|
  File.readlines("original.txt").each do |line|

Thanks in advance for any help.
-- 
Posted via http://www.ruby-forum.com/.