lessing pdfs

Alan Dayley alandd at consultpros.com
Fri Aug 3 13:27:33 MST 2007


der.hans wrote:
> moin moin,
> 
> I wanted to look at the binary content for a pdf, so I lessed it. I got
> the text of the pdf. Hmm, type $file.pdf claimed it's pdf.
> 
> cat $file.pdf | less showed it to be pdf.
> 
> Apparently less can now produce the text from pdf files :).
> 
> I verified this works on Ubuntu 6.06 ( others verified more recent
> releases ) and debian stable.
> 
> evince gives much nicer output, but for the times when I just want a quick
> view of the content or want to search for a string it'll be great to use
> less!

As I've said:

"'less' is 'more' but less, with more, more or less."  ;^)

Alan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20070803/ba0542a8/attachment.pgp 


More information about the PLUG-discuss mailing list