viric ([info]viric) wrote,
@ 2007-11-01 00:59:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:eo, programado

Serĉi en diversaj PDFoj
Por serĉi simplajn vortojn en multaj PDFaj dosieroj, mi uzas skripton.

#!/bin/sh

PATTERN="$1"
shift

while [ $# -gt 1 ]; do
pdftotext "$1" - | fold -s | grep "$PATTERN" | awk '{ print "'"$1: "'",$0; }'
shift
done



(Post a new comment)


[info]antono
2008-01-05 02:15 am UTC (link)
tracker-project.org sxajnas jam matura por tio kaj certe estos pli rapida!

(Reply to this)


Create an Account
Forgot your login?
Login w/ OpenID
English • Español • Deutsch • Русский…