background preloader

Pdf

Facebook Twitter

The rompe blog. Inspired by the comments to this NewsForge article about concatenating PDF files I wrote this little script which allows you to find patterns in PDF documents in exactly the same manner that you know from the grep utility with plain text files.

the rompe blog

If you never heard about grep, then you probably won't be interested in this script. The syntax is as follows: pdfgrep [grep options] <pattern> A comment poster hardcoded the grep options "--context=4 --color=always", but I don't hardcode these because I want to be able to give the context size myself (for four lines just try "pdfgrep -4 ... ") and for the colour I have this line in my .bashrc anyway: export GREP_OPTIONS="--color=auto"

Perspectives on Free and Open Source Software - Table of Content. Bookmark PDF Pages in Reader. Here’s a special post from Hackszine – great way to follow all the authors from our HACKS series….

Bookmark PDF Pages in Reader

Ed note: In this guest post, veteran Hacks series author Paul Bausch takes on a challenge that’s been on my todo list for a while, providing a solution that should be of immediate interest to all readers of this site and just might serve as a seed for future hacking around here. I have a shelf full of O’Reilly Hacks books across a wide range of subjects. I contributed a couple in the Web Applications category, but I also have Hacks books about digital photography, hardware, scripting languages, gaming, and operating systems.