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