#!/usr/local/bin/tcsh mv ./tloss/SLeed.plt ./tloss/SLeed.plt.old mv ./tloss/SLeed.plp ./tloss/SLeed.plp.old ./bin/make_plug ./run/SLeed ./tloss/stubs/SLeed ./tloss/SLeed cat ./refs/BEM/bem_EED_NS.dat ./run/SLeed.rdo.par1.tot.rx1.dat > g1 cat ./refs/BEM/bem_EED_NS_BS.dat ./run/SLeed.rdo.par1.bac.rx1.dat > g2 cat g1 ./refs/CORE/SLeed.gem.par1.tot.rx1.dat > f1 cat g2 ./refs/CORE/SLeed.gem.par1.bac.rx1.dat > f2 cat f1 f2 > ./tloss/SLeed.plt rm -f f? g? if ( $#argv == 1 ) then if ($argv[1] == "S") then # Silent mode selected if argument is S else # Plotting mode otherwise mplot ./tloss/SLeed endif else # Plotting mode as default with no arguments mplot ./tloss/SLeed endif