/usr/share/doc/ruby-spreadsheet/examples/xlsopcodes is in ruby-spreadsheet 1.0.0-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/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
|