2019-05-02 15:06:36 +00:00
|
|
|
#!/usr/bin/env ruby
|
|
|
|
|
|
|
|
File.readlines(ARGV[0]).each do |line|
|
2019-05-02 16:24:19 +00:00
|
|
|
line.scan(/KEY:(.*?) SEED:/).each { |match| print $1 }
|
|
|
|
line.scan(/STRING:(.*)/).each { |match| puts $1 }
|
2019-05-02 15:06:36 +00:00
|
|
|
end
|
|
|
|
print "\n"
|