1 2 3 4 5 6 7
#!/bin/bash echo "Compiling..." erlc -W problem$1.erl echo "Compiled!" echo "Running..." time erun $1 echo "Done!"