File: plot2cgm.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 (14 lines) | stat: -rwxr-xr-x 306 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

CGM_ENCODING=clear_text BG_COLOR=white ../plot/plot -T cgm <$SRCDIR/graph.xout >plot2cgm.out

egrep -v MFDESC $SRCDIR/plot2cgm.xout > plot2cg0.out
egrep -v MFDESC plot2cgm.out > plot2cg1.out
rm plot2cgm.out

if cmp -s plot2cg0.out plot2cg1.out
	then retval=0;
	else retval=1;
	fi;

exit $retval