Sha256: 88975002ac0d9cca7c523daac013e58eb0842a24608bf79c890c6327da662456
Contents?: true
Size: 318 Bytes
Versions: 36
Compression:
Stored size: 318 Bytes
Contents
#!/usr/bin/env ruby # Given a list of newline-separated email addresses, retain only government/military require "./lib/gman" # Auto-flush STDOUT.sync = true STDERR.sync = true ARGF.each do |line| begin puts line if Gman.valid?(line) rescue STDERR.write "Couldn't parse #{line}" end end
Version data entries
36 entries across 36 versions & 1 rubygems