1 2 3 4 5 6 7 8
#!/usr/bin/env ruby STDOUT.sync = true while line = STDIN.gets puts line.gsub(/@@ /, "") end