#! /bin/bash xmldocs=`cat xmldata/subset.txt` for prog in ezxml goencxml mxml pyeletree.py sxmlc yxml; do for i in `seq 10`; do ./measuretime.sh 2>&1 ./$prog $xmldocs > /dev/null | grep real | sed 's/real//g;s/s//g' >> $prog.log done done