#!/bin/sh ./xquery -c $1 if [$2 == ""]; then file="a.out"; else file=$2; fi ghc -O2 -ihxml-0.2 --make Temp.hs -o $file