#!/bin/bash# This little do-dad will compile source# for me, because i'm soo very lazy!#ProgramNO_ARGS=0E_OPTERROR=65if [ $# -eq "$NO_ARGS" ] # Script invoked with no command-line args?then echo "Usage: `basename $0` hw0" exit $E_OPTERROR # Exit and explain usage, if no argument(s) given.figcc -Wall -pedantic -o ~/CS12/$1.out ~/CS12/src/$1.cechoecho "Did that compile ok? Should we attempt to run?(y/n)"echoread compokecho "Program Run: "echoif [ $compok = y ];then ~/CS12/$1.outfi