[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: get number of pages of a PostScript file



Hello Alexander,

* Alexander Steinert wrote:

> What's the fastest way to do this on the command line?

I think there are more than thousand solutions ;-)
grep ^%%Pages file.ps|awk '{ print $2 }'

cya
Waldemar
-- 
* A good website for linuxsoftware:    |      (o_      *
*       http://www.freshmeat.net       |      //\      *        
*           Linux rulez!    ;-)        |      V_/_     *
* GnuPG-Key: 0xBE21BD90 | Tux: #155220 | ICQ: 64035650 *



Reply to: