1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env ruby require 'zipf' i = ARGV[0].to_i while line = STDIN.gets puts i i += 1 end