routeros-rest-dump-dns-with.../replace-str.rb
2024-02-02 00:55:45 +02:00

6 lines
104 B
Ruby
Executable File

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