for file in *.tex *.mp;
do
sed "s/last modification:.*$/last modification: November 1, 2011/1" $file > tmp; mv tmp $file;
# sed "s/mss_/mps_/1" $file > tmp; mv tmp $file;
done;

tex statsman;
for file in test-*.mp; do mpost $file; done
tex statsman; dvips statsman -Ppdf -t a4; ps2pdf statsman.ps
dvips statsman -o; gzip statsman.ps;
tar -cvf mps.tar mps-core.mp mps-math.mp mps-float.mp mps-rand.mp mps-stat.mp mps-calc.mp mps-glm.mp test-*.mp statsmac.mp statsman.tex statsman.pdf statsman.ps.gz @distrib oms.dat oms.csv atlas.dat cars.dat;
gzip mps.tar
