Sha256: c27c4928230d57eb25c553e32ff3ce93959b4948a504f5fe58f8e6b8d68c27d1

Contents?: true

Size: 265 Bytes

Versions: 9

Compression:

Stored size: 265 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
$LOAD_PATH.unshift(File.dirname(__FILE__) + "/../lib")

require 'pdf/reader'

if ARGV.empty?
  browser = PDF::Reader.new($stdin)
else
  browser = PDF::Reader.new(ARGV[0])
end
browser.pages.each do |page|
  puts page.text
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
pdf-reader-1.1.1 bin/pdf_text
pdf-reader-1.1.0 bin/pdf_text
pdf-reader-1.0.0 bin/pdf_text
pdf-reader-1.0.0.rc1 bin/pdf_text
pdf-reader-1.0.0.beta1 bin/pdf_text
pdf-reader-0.12.0.alpha bin/pdf_text
fireinc-pdf-reader-0.11.0 bin/pdf_text
fireinc-pdf-reader-0.11.0.alpha bin/pdf_text
pdf-reader-0.11.0.alpha bin/pdf_text