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