rpview (221B)
1 #!/bin/sh 2 3 TMPL="$(rppath -b)/tmpl/view.sh" 4 5 if [ -t 1 -a -x "$TMPL" ]; 6 then 7 if [ -n "$PAGER" ]; 8 then 9 rohrpost rpview "$@" | $TMPL | eval $PAGER 10 else 11 rohrpost rpview "$@" | $TMPL 12 fi 13 else 14 rohrpost rpview "$@" 15 fi 16