#!/bin/bash
shopt -s execfail
exec ${PAGER:-pager} "$@"
exec more "$@"
echo "Couldn't find a pager!" 1>&2
echo "Set the \$PAGER environment variable to your desired pager." 1>&2
exit 1
