#!/bin/bash echo "" > $2.tmp cat $1 >> $2.tmp echo "" >> $2.tmp saxon8 $2.tmp /var/www/localhost/htdocs/debug_transformer.xsl > $2 rm $2.tmp