1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh ILASM=ilasm THIS=`realpath $0` HERE=`dirname $THIS` $HERE/PLexceptGOTOdotNET translate $1 >tmp.cil # cat tmp.cil $ILASM tmp.cil /output:program.exe >/dev/null chmod 755 program.exe rm tmp.cil ./program.exe rm program.exe