Sha256: c88c8b0e25b7ef8373258cec26bddc56f5eed865b91ffeec8c98b986f9609f66
Contents?: true
Size: 327 Bytes
Versions: 73
Compression:
Stored size: 327 Bytes
Contents
#!/usr/bin/env ruby require 'spreadsheet' source, target = ARGV if source.nil? puts "Usage: #{$0} <source> [<target>]" exit -1 end target = target ? File.open(target, 'w') : STDOUT reader = Spreadsheet::Excel::Reader.new :print_opcodes => target reader.setup File.open(source) while tuple = reader.get_next_chunk end
Version data entries
73 entries across 73 versions & 7 rubygems