#usr/bin/sh echo "Running $1.." #if (p pl.bc -l pl2;) then (swipl -f pl2.pl -g "debug,pl2(X),halt";) fi swipl -f comp2.pl -g "comp2(\"$1\"),halt"