ack/doc/sparc/printP4P

32 lines
390 B
Plaintext
Raw Normal View History

1991-09-27 16:19:24 +00:00
echo $0
case $1 in
1 )
CMD="cat"
;;
2 )
CMD="cat"
;;
3 )
CMD="cat"
;;
4 )
CMD="pic | tbl"
;;
5 )
CMD="tbl"
;;
A )
CMD="grap | pic"
;;
B )
CMD="tbl"
;;
esac
echo $0
if [ $0 = printP4P ]
then
refer -sA+T '-l\", ' -p refs $1 | eval $CMD | troff -ms -Tp4p | dip -Tp4p -Pp4p
else
xtroff -full -geom 665x883+566+0 -command "refer -sA+T '-l\", ' -p refs $1 | $CMD | troff -ms -Tp4p"
fi