File: sensible-pager

package info (click to toggle)
debianutils 1.16.2woody1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 156 kB
  • ctags: 36
  • sloc: ansic: 609; sh: 344; makefile: 50
file content (7 lines) | stat: -rw-r--r-- 185 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/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