/usr/share/elvis/manual/printdoc.sh is in elvis-common 2.2.0-11.1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #!/bin/sh
#
# This little script will print the documentation. It does this by invoking
# elvis on each documentation file in turn, telling elvis to print the file
# via its :lpr command and then quit. The complete manual should be about
# 200 pages long.
#
# THIS ASSUMES YOU HAVE ALREADY SET UP THE PRINTING OPTIONS!
HTMLDIR="/usr/share/elvis/manual"
MANDIR="/usr/share/elvis/manual"
#MANDIR="/usr/share/man/man1"
MANEXT="man"
#MANEXT="1.gz"
elvis -Gquit -clp "$HTMLDIR"/elvis.html
elvis -Gquit -clp "$HTMLDIR"/elvisvi.html
elvis -Gquit -clp "$HTMLDIR"/elvisinp.html
elvis -Gquit -clp "$HTMLDIR"/elvisex.html
elvis -Gquit -clp "$HTMLDIR"/elvisre.html
elvis -Gquit -clp "$HTMLDIR"/elvisopt.html
elvis -Gquit -clp "$HTMLDIR"/elvisdm.html
elvis -Gquit -clp "$HTMLDIR"/elvisgui.html
elvis -Gquit -clp "$HTMLDIR"/elvisos.html
elvis -Gquit -clp "$HTMLDIR"/elvisses.html
elvis -Gquit -clp "$HTMLDIR"/elviscut.html
elvis -Gquit -clp "$HTMLDIR"/elvismsg.html
elvis -Gquit -clp "$HTMLDIR"/elvisexp.html
elvis -Gquit -clp "$HTMLDIR"/elvistag.html
elvis -Gquit -clp "$HTMLDIR"/elvisnet.html
elvis -Gquit -clp "$HTMLDIR"/elvistip.html
elvis -Gquit -clp "$HTMLDIR"/elvistrs.msg
elvis -Gquit -clp "$HTMLDIR"/elvisqr.html
elvis -Gquit -clp "$MANDIR"/elvis."$MANEXT"
elvis -Gquit -clp "$MANDIR"/elvtags."$MANEXT"
elvis -Gquit -clp "$MANDIR"/ref."$MANEXT"
elvis -Gquit -clp "$MANDIR"/elvfmt."$MANEXT"
|