Sha256: 09fe00ed4258e838e9766af67511f9b35bb6327d8fac3fc6ed3a8163015939c5
Contents?: true
Size: 295 Bytes
Versions: 5
Compression:
Stored size: 295 Bytes
Contents
#!/usr/bin/env ruby # Given a list of newline-separated email addresses, retain only government 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
gman-7.0.2 | bin/gman_filter |
gman-7.0.1 | bin/gman_filter |
gman-7.0.0 | bin/gman_filter |
gman-6.0.1 | bin/gman_filter |
gman-6.0.0 | bin/gman_filter |