mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-11-19 14:33:02 +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" |