Commit 47f69067 authored by Fred Drake's avatar Fred Drake

Script to generate page counts of the PostScript files.

parent e1feb8f2
#! /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
PAGECOUNT=`grep '^%%Page:' $FILE | wc -l | cut -f 1 | tr -d ' '`
echo " $PART.ps -- $PAGECOUNT pages"
done
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment