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

Version Path
gman-5.0.9 bin/gman_filter
gman-5.0.8 bin/gman_filter
gman-5.0.7 bin/gman_filter
gman-5.0.6 bin/gman_filter
gman-5.0.5 bin/gman_filter
gman-5.0.4 bin/gman_filter
gman-5.0.3 bin/gman_filter
gman-5.0.2 bin/gman_filter
gman-5.0.1 bin/gman_filter
gman-5.0.0 bin/gman_filter
gman-4.7.1 bin/gman_filter
gman-4.7.0 bin/gman_filter
gman-4.6.5 bin/gman_filter
gman-4.6.4 bin/gman_filter
gman-4.6.3 bin/gman_filter
gman-4.6.2 bin/gman_filter
gman-4.6.1 bin/gman_filter
gman-4.6.0 bin/gman_filter
gman-4.5.1 bin/gman_filter
gman-4.5.0 bin/gman_filter