mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-08-22 22:28:58 +00:00
7 lines
183 B
Ruby
Executable File
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" |