It is currently Sat Dec 16, 2017 12:57 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: PDFgrep text search (CLI)
PostPosted: Thu Oct 05, 2017 8:45 am 
Offline

Joined: Wed Jun 26, 2013 2:09 am
Posts: 413
PDFgrep (CLI utility) ...alternative to firing up cumbersome Acrobat/Foxit... :wink:

Nifty utility to swiftly Search text inside PDF file(s); Works much like grep, except it operates on pages instead of lines.

Simple usage:
    PDFgrep file searchstring

Can also search inside a bunch of pdf files at once:
    PDFgrep -r --include *.pdf searchstring

Can even return the relevant page number hit
    PDFgrep -r --include *.pdf searchstring -n

Binary distro package (1.7MB) comes complete with man page, usage examples, changelog.

Developer's site (includes additional PDF-related tools, besides PDFgrep)
http://soft.rubypdf.com/software/pdfgrep-windows-version

PDFgrep Win-32 binary:
http://soft.rubypdf.com/download/pdfgrep/pdfgrep-1.4.0-win32.zip

Tested under WinXP and Win7.
Recommended.


Top
 Profile  
 
 Post subject: Re: PDFgrep text search (CLI)
PostPosted: Thu Oct 05, 2017 6:00 pm 
Offline

Joined: Sun Feb 16, 2014 10:54 pm
Posts: 237
I wonder what the Order purchase drop-down selection is for, commercial use? Doesn't appear to have any explanation.


Top
 Profile  
 
 Post subject: Re: PDFgrep text search (CLI)
PostPosted: Thu Oct 05, 2017 11:54 pm 
Offline

Joined: Wed Jun 26, 2013 2:09 am
Posts: 413
That's puzzling me too,

the more so considering pdfgrep-1.4.0-win32.zip distribution package includes
  • a COPYING file which is a plain "GNU General Public License".
  • an AUTHORS file pointing to the original product's developers,
      among which Hans-Peter Deifel

Furthermore,

it turns out this specific win32 product is actually a fork of the original GNU/Unix PDFgrep maintained by pdfgrep.org ,
plainly labeling itself as "Free Software Licensed under the GPL version 2 or later."
Developer HP Deifel by-line also figures in the version release annoucements.


Go figure... :roll:


Top
 Profile  
 
 Post subject: Re: PDFgrep text search (CLI)
PostPosted: Fri Oct 06, 2017 5:33 am 
Offline

Joined: Wed Jun 26, 2013 2:09 am
Posts: 413
PDFgrep users,.. Beware :!:

    pdfgrep [OPTION]... PATTERN FILE...

  • FILE names ARE case sensitive, while
  • PATTERN search strings are NOT

Using or not using the -i OPTION parameter to supersede case sensitivity won't make a whiff of difference in this specific implementation,
whatever its PDFgrep.txt man page mumbles about it.

Trust me on this one,
I have been throwing enough of a tantrum :evil: over PDFgrep aberrant parsing of file names before the obvious cause :idea: finally dawned on me ... ;-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group