Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pdftotext output to screen

1,178 views
Skip to first unread message

Petra Meier

unread,
Aug 6, 2009, 5:12:35 AM8/6/09
to
hello,

I want to use pdftotext (the linux tool) to extract text from a pdf
file.
pdftotext produces a text file with the content, but I want it to
output the text on screen. how can I do that?

thanks you

Markus Ueberall

unread,
Aug 6, 2009, 10:09:06 AM8/6/09
to
Petra Meier schrieb:

> pdftotext produces a text file with the content, but I want it to
> output the text on screen. how can I do that?

Either use a second command like "cat" or "less" in order to display the
generated text file or simply specify the standard output as destination
(optional second parameter) as follows:

pdftotext infile.pdf -

(cf. http://en.wikipedia.org/wiki/Hyphen#Hyphens_in_computing)

Ad astra, Markus

Petra Meier

unread,
Aug 7, 2009, 2:12:43 AM8/7/09
to
On Aug 6, 4:09 pm, Markus Ueberall <Markus.Ueber...@gmail.com> wrote:
>
>         pdftotext infile.pdf -
>
> Ad astra, Markus

you are my hero! this works perfect!!!
as always: per aspera :)

0 new messages