#!/bin/csh -f

cd /cern/pro/bin

cd /nfs/slacvx/sld_fac0/sldwww/slacvx/tmp

awk '{print $1}' ax.txt > ax.dat
awk '{print $1}' vx.txt > vx.dat

/cern/pro/bin/pawX11 -n -b total.kumac
/cern/pro/bin/pawX11 -n -b longterm.kumac
/cern/pro/bin/pawX11 -n -b disks.kumac
/cern/pro/bin/pawX11 -n -b tape.kumac

/usr/local/bin/ps2gif -crop -color total.ps slacvx.gif
/usr/local/bin/ps2gif -crop -color longterm.ps longterm.gif
/usr/local/bin/ps2gif -crop -color disks.ps disks.gif
/usr/local/bin/ps2gif -crop tape_err.ps tape_err.gif

/bin/cp slacvx.gif ..
/bin/cp longterm.gif ..
/bin/cp disks.gif ..
/bin/cp tape_err.gif ..

rm -rf disks.ps longterm.ps total.ps tape_err.ps

/bin/ls -l 

