Sha256: c6d892abee1311d8c80cec937d83ab631657b74d1147ff99657bbaef7c67d72b
Contents?: true
Size: 936 Bytes
Versions: 10
Compression:
Stored size: 936 Bytes
Contents
#!/usr/bin/env ruby require "Getopt/Declare" args = Getopt::Declare.new(<<'EOPARAM', ['-BUILD']) ============================================================ Required parameter: -in <infile> Input file [required] ------------------------------------------------------------ Optional parameters: (The first two are mutually exclusive) [mutex: -r -p] -r[and[om]] Output in random order -p[erm[ute]] Output all permutations --------------------------------------------------- -out <outfile> Optional output file ------------------------------------------------------------ Note: this program is known to run very slowly of files with long individual lines. ============================================================ EOPARAM # TRY STANDARD CONFIG FILES args.parse(['-CONFIG']) #args.parse('/usr/local/config/.demo_rc') #args.parse() or raise "cannot parse"; print args.inspect
Version data entries
10 entries across 10 versions & 1 rubygems