1998-08-28 18:16:28 -03:00
|
|
|
#! /bin/sh
|
|
|
|
# -*- Ksh -*-
|
|
|
|
#
|
|
|
|
# Generate a page count report of the PostScript version of the manuals.
|
|
|
|
|
|
|
|
cd `dirname $0`/..
|
|
|
|
|
|
|
|
PAPER=${PAPER:-letter}
|
|
|
|
|
|
|
|
|
|
|
|
cat <<EOF
|
|
|
|
This is the PostScript version of the standard Python documentation.
|
|
|
|
If you plan to print this, be aware that some of the documents are
|
|
|
|
long. These files have the following page counts:
|
|
|
|
|
|
|
|
EOF
|
|
|
|
|
|
|
|
|
|
|
|
for PART in api ext lib mac ref tut ; do
|
|
|
|
FILE=paper-$PAPER/$PART.ps
|
1999-01-12 15:28:41 -04:00
|
|
|
PAGECOUNT=`grep -c '^%%Page:' $FILE`
|
1998-08-28 18:16:28 -03:00
|
|
|
echo " $PART.ps -- $PAGECOUNT pages"
|
|
|
|
done
|