File: plot2pcl.test

package info (click to toggle)
plotutils 2.6-15
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,040 kB
  • sloc: ansic: 68,670; sh: 20,086; cpp: 12,382; yacc: 2,588; makefile: 838; lex: 137
file content (23 lines) | stat: -rwxr-xr-x 581 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

../plot/plot -T pcl <$SRCDIR/graph.xout >plot2pcl.out 2>/dev/null

# Two possibilities: either the PCL5 output file isn't allowed to contain
# PS fonts such as Times-Roman, or it is (because the
# --enable-ps-fonts-in-pcl option was added to `configure').  If the
# former, `plot' will replace Times-Roman by the default font, Univers.

if test "$PS_FONTS_IN_PCL" = "0"
then	
	if cmp -s $SRCDIR/plot2pcl.xout plot2pcl.out
		then retval=0;
		else retval=1;
		fi;
else
	if cmp -s $SRCDIR/plot2pcl.yout plot2pcl.out
		then retval=0;
		else retval=1;
		fi;
fi

exit $retval