lawless-legends/Platform/Apple/virtual/xformScript.rb
2019-05-02 09:24:19 -07:00

7 lines
183 B
Ruby
Executable File

#!/usr/bin/env ruby
File.readlines(ARGV[0]).each do |line|
line.scan(/KEY:(.*?) SEED:/).each { |match| print $1 }
line.scan(/STRING:(.*)/).each { |match| puts $1 }
end
print "\n"