This demonstrates how to invoke the pager (selected by the $PAGER environment variable) to filter the contents of a file argument. It's adapted from Stevens & Rago's "pager.c".