Skip to content

Instantly share code, notes, and snippets.

@mmiliaus
Created May 28, 2013 11:23
Show Gist options
  • Save mmiliaus/5662080 to your computer and use it in GitHub Desktop.
Save mmiliaus/5662080 to your computer and use it in GitHub Desktop.
#!/usr/bin/env /usr/bin/ruby
STDIN.each_line do |line|
m = line.match /Score="(\d+)"/
if m
puts "LongValueSum:#{m[1]}\t1"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment