Sha256: 3a3bcf4ae1d5b29fe8f00c57349f54a817160824feb30189a722f2eb2d4280c1

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/opener/constituent_parsers/nl'

# STDIN.tty? returns `false` if data is being piped into the current process.
if STDIN.tty?
  input = nil
else
  input = STDIN.read
end

kernel = Opener::ConstituentParsers::NL.new(:args => ARGV)
stdout, stderr, process = kernel.run(input)

puts stdout

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
opener-constituent-parser-nl-0.1.1 bin/constituent-parser-nl