[Novalug] Viewing/Printing/Exporting a pdf document
Jon LaBadie
novalugml at jgcomp.com
Sat Jan 31 12:11:28 EST 2009
On Sat, Jan 31, 2009 at 10:01:35AM -0500, Nino Pereira wrote:
> > On Sat, 31 Jan 2009, Charles M Howe wrote:
>
> I have turned a file created by
> > CMH >the oo word processor into a pdf file. Now I would like to read it and
> > CMH >email it. How do I do this? I haven't even been able to read it, not to
> > CMH >mention email it.
>
> You can find all kinds of ways to deal with .pdf files with the command
> (in a text window):
>
> ls -l /usr/bin/*pdf*
>
many of the readers do not have "pdf" in their name.
> On my system this gives 33 possibilities. Some are long: these are
> binary programs. Most have man pages, so do 'man *pdf*' if you want
> to find out what they do. Some are small: these point to other
> programs and mostly don't have man pages.
>
Gee, I learn something new every other day. The unix man I
grew up with did not do shell-like expansion of its argument.
But before saying Nino's suggestion wouldn't work except in
a "bin" directory containing the executables, I tried it on
Fedora 9. Surprise :) it brought up one man page, for
htdig-pdfparser. By using the -a (all) option I got 17
pages. But be careful, it may be best to quote the *pdf*
to avoid the shell expanding to foo.pdf documents in the
current directory.
This also does not bring up pages for cmd that work with
pdf but do not have pdf in their names. You can get a more
complete list with 'man -k pdf'
--
Jon H. LaBadie jon at jgcomp.com
JG Computing
12027 Creekbend Drive (703) 787-0884
Reston, VA 20194 (703) 787-0922 (fax)
More information about the Novalug
mailing list