Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 19 lines (14 sloc) 210 Bytes
#!/usr/bin/env ruby
array = []
ARGV.each{|filename|
File.open(filename, "r"){|file|
file.each{|line|
line.chomp!
array.push line
}
}
}
array.shuffle!
array.each{|elem|
puts elem
}