Sha256: 27fc0f0d959b088dd7c9b80b01f79d496eecb1e511ebf0e64bca95fad1603db9
Contents?: true
Size: 491 Bytes
Versions: 14
Compression:
Stored size: 491 Bytes
Contents
#!/usr/bin/env ruby require "Getopt/Declare" args = Getopt::Declare.new( %q{ -v <value> [etc] One or more values <infile:if> Input file [required] -o <outfiles>... Output files } ) if args['-v'] print "Using value: ", args['-v']['<value>'] print " (etcetera)" if args['-v']['etc'] print "\n" end infile = File.new( args['<infile>'] ) data = infile for outfile in args['-o'] #outfile = File.new(outfile,'w') print "processed ",outfile #outfile.close end
Version data entries
14 entries across 14 versions & 1 rubygems