#!/usr/bin/env ruby while line = STDIN.gets puts "#{line.chomp.gsub("#{ARGV[0]}","#{ARGV[1]}")}" end