i want my ruby program to accept input from text file as parameter at
command prompt and produce the and save it another text.

i have all my input for my program at inputfile.txt.

i want my program to work if run prorgram like

ruby filename.rb inputfile.txt > outputfile.txt

thanks in advance

-- 
Posted via http://www.ruby-forum.com/.